aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/pgtable_no.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2015-02-10 14:10:41 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-10 14:30:32 -0800
commit1eeda0abf4425c91e7ce3ca32f1908c3a51bf84e (patch)
tree80f47045595f8698f42df5252cab9acc7eea9bd3 /arch/m68k/include/asm/pgtable_no.h
parentm32r: drop _PAGE_FILE and pte_file()-related helpers (diff)
downloadlinux-dev-1eeda0abf4425c91e7ce3ca32f1908c3a51bf84e.tar.xz
linux-dev-1eeda0abf4425c91e7ce3ca32f1908c3a51bf84e.zip
m68k: drop _PAGE_FILE and pte_file()-related helpers
We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/include/asm/pgtable_no.h')
-rw-r--r--arch/m68k/include/asm/pgtable_no.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/pgtable_no.h b/arch/m68k/include/asm/pgtable_no.h
index 11859b86b1f9..ac7d87a02335 100644
--- a/arch/m68k/include/asm/pgtable_no.h
+++ b/arch/m68k/include/asm/pgtable_no.h
@@ -37,8 +37,6 @@ extern void paging_init(void);
#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; }
-
/*
* ZERO_PAGE is a global shared page that is always zero: used
* for zero-mapped memory areas etc..