asm-generic, mm: pgtable: consolidate zero page helpers
We have two different implementation of is_zero_pfn() and my_zero_pfn() helpers: for architectures with and without zero page coloring. Let's consolidate them in <asm-generic/pgtable.h>. Signed-off-by:Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/mips/include/asm/pgtable.h 1 addition, 10 deletionsarch/mips/include/asm/pgtable.h
- arch/s390/include/asm/pgtable.h 1 addition, 10 deletionsarch/s390/include/asm/pgtable.h
- include/asm-generic/pgtable.h 26 additions, 0 deletionsinclude/asm-generic/pgtable.h
- include/linux/mm.h 0 additions, 8 deletionsinclude/linux/mm.h
- mm/memory.c 0 additions, 7 deletionsmm/memory.c
Loading
Please register or sign in to comment