[PATCH] vm: remove unused/broken page_pte[_prot] macros
This patch removes page_pte_prot and page_pte macros from all architectures. Some architectures define both, some only page_pte (broken) and others none. These macros are not used anywhere. page_pte_prot(page, prot) is identical to mk_pte(page, prot) and page_pte(page) is identical to page_pte_prot(page, __pgprot(0)). * The following architectures define both page_pte_prot and page_pte arm, arm26, ia64, sh64, sparc, sparc64 * The following architectures define only page_pte (broken) frv, i386, m32r, mips, sh, x86-64 * All other architectures define neither Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
- include/asm-arm/pgtable.h 0 additions, 3 deletionsinclude/asm-arm/pgtable.h
- include/asm-arm26/pgtable.h 0 additions, 2 deletionsinclude/asm-arm26/pgtable.h
- include/asm-frv/pgtable.h 0 additions, 2 deletionsinclude/asm-frv/pgtable.h
- include/asm-i386/pgtable.h 0 additions, 2 deletionsinclude/asm-i386/pgtable.h
- include/asm-ia64/pgtable.h 0 additions, 3 deletionsinclude/asm-ia64/pgtable.h
- include/asm-m32r/pgtable.h 0 additions, 2 deletionsinclude/asm-m32r/pgtable.h
- include/asm-mips/pgtable-64.h 0 additions, 1 deletioninclude/asm-mips/pgtable-64.h
- include/asm-mips/pgtable.h 0 additions, 1 deletioninclude/asm-mips/pgtable.h
- include/asm-sh/pgtable.h 0 additions, 2 deletionsinclude/asm-sh/pgtable.h
- include/asm-sh64/pgtable.h 0 additions, 3 deletionsinclude/asm-sh64/pgtable.h
- include/asm-sparc/pgtable.h 0 additions, 2 deletionsinclude/asm-sparc/pgtable.h
- include/asm-sparc64/pgtable.h 0 additions, 3 deletionsinclude/asm-sparc64/pgtable.h
- include/asm-x86_64/pgtable.h 0 additions, 2 deletionsinclude/asm-x86_64/pgtable.h
Loading
Please register or sign in to comment