• Tejun Heo's avatar
    [PATCH] vm: remove unused/broken page_pte[_prot] macros · 1426d7a8
    Tejun Heo authored
    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: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    1426d7a8
pgtable.h 13.4 KB