[PATCH] v850: Add pte_file

From: Miles Bader
Date: Thu Jul 21 2005 - 05:23:01 EST


Signed-off-by: Miles Bader <miles@xxxxxxx>

include/asm-v850/pgtable.h | 2 ++
1 files changed, 2 insertions(+)

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
--- linux-2.6.12-uc0/include/asm-v850/pgtable.h 2005-03-04 11:34:09.605536000 +0900
+++ linux-2.6.12-uc0-v850-20050721/include/asm-v850/pgtable.h 2005-07-21 16:23:19.930669000 +0900
@@ -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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/