fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-v850 / pgtable.h
index fd922a4..1ea2a90 100644 (file)
@@ -1,7 +1,8 @@
 #ifndef __V850_PGTABLE_H__
 #define __V850_PGTABLE_H__
 
-#include <linux/config.h>
+#include <asm-generic/4level-fixup.h>
+
 #include <asm/page.h>
 
 
@@ -21,6 +22,8 @@
 #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)