Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kirill A. Shutemov and committed by
Linus Torvalds
2bc6ff14 7a7d2db4

-5
-5
arch/blackfin/include/asm/pgtable.h
··· 45 45 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) 46 46 #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) 47 47 48 - static inline int pte_file(pte_t pte) 49 - { 50 - return 0; 51 - } 52 - 53 48 #define set_pte(pteptr, pteval) (*(pteptr) = pteval) 54 49 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) 55 50