]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: clear_soft_dirty_pmd() requires THP
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>
Wed, 21 Oct 2015 22:03:16 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:16 +0000 (09:03 +1100)
commit0ee052b40392c293be17b393f72706bf10918fcf
tree57141423d4131b0a8686630588ea55687ec3881f
parentafebe2b81316be9359fb9d7b9b7df2e83084bf4e
mm: clear_soft_dirty_pmd() requires THP

Don't build clear_soft_dirty_pmd() if transparent huge pages are not
enabled.

Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/task_mmu.c