Skip to contentSkip to conversation

v850: Add pte_file

PATCH New Miles Bader 1 participant 1 message Jul 21, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v850: Add pte_file

 include/asm-v850/pgtable.h |    2 ++
 1 files changed, 2 insertions(+)
include/asm-v850/pgtable.h +2 -0
diff -ruN -X../cludes linux-2.6.12-uc0/include/asm-v850/pgtable.h linux-2.6.12-uc0-v850-20050721/include/asm-v850/pgtable.h
@@ -23,6 +23,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)