]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
asm-generic, mm: pgtable: consolidate zero page helpers
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Wed, 12 Dec 2012 21:52:36 +0000 (13:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 01:38:35 +0000 (17:38 -0800)
commit816422ad76474fed8052b6f7b905a054d082e59a
tree9918f68e9c5f93be98940b4b7b478e1637547926
parent56f2fb147659e05b1e87b99791bf44b988d38545
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>
arch/mips/include/asm/pgtable.h
arch/s390/include/asm/pgtable.h
include/asm-generic/pgtable.h
include/linux/mm.h
mm/memory.c