aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2015-02-10 17:10:23 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-10 17:30:31 -0500
commit2bc6ff14d46745a7728ed4ed90c5e0edca91f52e (patch)
tree2c0e9790a93cd8ce3149aff9c9e556fd819208c4 /arch/blackfin/include
parent7a7d2db4b8b3505a3195178619ffcc80985c4be1 (diff)
blackfin: drop pte_file()
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: Steven Miao <realmz6@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r--arch/blackfin/include/asm/pgtable.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/blackfin/include/asm/pgtable.h b/arch/blackfin/include/asm/pgtable.h
index 0b049019eba7..b88a1558b0b9 100644
--- a/arch/blackfin/include/asm/pgtable.h
+++ b/arch/blackfin/include/asm/pgtable.h
@@ -45,11 +45,6 @@ extern void paging_init(void);
45#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) 45#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
46#define __swp_entry_to_pte(x) ((pte_t) { (x).val }) 46#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
47 47
48static inline int pte_file(pte_t pte)
49{
50 return 0;
51}
52
53#define set_pte(pteptr, pteval) (*(pteptr) = pteval) 48#define set_pte(pteptr, pteval) (*(pteptr) = pteval)
54#define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) 49#define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval)
55 50