Răsfoiți Sursa

[PATCH] v850: Add pte_file

Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Miles Bader 20 ani în urmă
părinte
comite
947ac8b926
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      include/asm-v850/pgtable.h

+ 2 - 0
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)