[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>
This commit is contained in:
Miles Bader 2005-07-27 11:44:55 -07:00 committed by Linus Torvalds
parent 21ea9f6329
commit 947ac8b926

View File

@ -23,6 +23,8 @@
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
#define __swp_entry_to_pte(x) ((pte_t) { (x).val }) #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. */ /* These mean nothing to !CONFIG_MMU. */
#define PAGE_NONE __pgprot(0) #define PAGE_NONE __pgprot(0)