summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2005-07-27 20:44:55 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 01:26:03 +0200
commit947ac8b9265e2a22552552d011db1e161f802a4a (patch)
treef8d664dc6589c9f5dceec9d7a2a1c9dde3ff7876 /include
parent[PATCH] v850: Update ioremap return type and add ioread/iowrite functions (diff)
downloadlinux-947ac8b9265e2a22552552d011db1e161f802a4a.tar.xz
linux-947ac8b9265e2a22552552d011db1e161f802a4a.zip
[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 76e380e481e9..3cf8775ce85f 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)