git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-v850
/
pgtable.h
diff --git
a/include/asm-v850/pgtable.h
b/include/asm-v850/pgtable.h
index
f71de33
..
1ea2a90
100644
(file)
--- a/
include/asm-v850/pgtable.h
+++ b/
include/asm-v850/pgtable.h
@@
-1,11
+1,10
@@
#ifndef __V850_PGTABLE_H__
#define __V850_PGTABLE_H__
#ifndef __V850_PGTABLE_H__
#define __V850_PGTABLE_H__
-#include <linux/config.h>
-#include <asm/page.h>
+#include <asm-generic/4level-fixup.h>
+#include <asm/page.h>
-typedef pte_t *pte_addr_t;
#define pgd_present(pgd) (1) /* pages are always present on NO_MM */
#define pgd_none(pgd) (0)
#define pgd_present(pgd) (1) /* pages are always present on NO_MM */
#define pgd_none(pgd) (0)
@@
-23,6
+22,8
@@
typedef pte_t *pte_addr_t;
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
+static inline int pte_file (pte_t pte) { return 0; }
+
/* These mean nothing to !CONFIG_MMU. */
#define PAGE_NONE __pgprot(0)
/* These mean nothing to !CONFIG_MMU. */
#define PAGE_NONE __pgprot(0)