3.16.59-rc1 review patch. If anyone has any objections, please let me know.
------------------ From: "Kirill A. Shutemov" <kirill.shute...@linux.intel.com> commit f5b45de9b00eb53d11ada85c61e4ea1c31ab8218 upstream. We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com> Acked-by: Mark Salter <msal...@redhat.com> Cc: Aurelien Jacquiot <a-jacqu...@ti.com> Signed-off-by: Andrew Morton <a...@linux-foundation.org> Signed-off-by: Linus Torvalds <torva...@linux-foundation.org> Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- arch/c6x/include/asm/pgtable.h | 5 ----- 1 file changed, 5 deletions(-) --- a/arch/c6x/include/asm/pgtable.h +++ b/arch/c6x/include/asm/pgtable.h @@ -50,11 +50,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; -} - #define set_pte(pteptr, pteval) (*(pteptr) = pteval) #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval)