aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2005-07-27 11:44:55 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:26:03 -0700
commit947ac8b9265e2a22552552d011db1e161f802a4a (patch)
treef8d664dc6589c9f5dceec9d7a2a1c9dde3ff7876 /include
parent21ea9f63297497df3040c70a67a207d229368a4c (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-v850/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-v850/pgtable.h b/include/asm-v850/pgtable.h
index 76e380e481e..3cf8775ce85 100644
--- a/include/asm-v850/pgtable.h
+++ b/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)