Aneesh Kumar K.V 4bece39b50 powerpc/mm: Drop PTE_ATOMIC_UPDATES from pmd_hugepage_update()
pmd_hugepage_update() is inside #ifdef CONFIG_TRANSPARENT_HUGEPAGE. THP
can only be enabled if PPC_BOOK3S_64=y && PPC_64K_PAGES=y, aka. hash64.

On hash64 we always define PTE_ATOMIC_UPDATES to 1, meaning the #ifdef
in pmd_hugepage_update() is unnecessary, so drop it.

That is also the only use of PTE_ATOMIC_UPDATES in any of the hash code,
meaning we no longer need to #define it at all in the hash headers.

Note it's still #defined and used in the nohash code.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-05-01 18:32:15 +10:00
..
2016-03-03 21:18:29 +11:00
2016-03-19 15:38:41 -07:00
2013-04-18 13:03:54 +10:00
2016-03-19 15:38:41 -07:00
2016-03-19 15:38:41 -07:00
2016-03-11 17:18:02 -06:00
2015-11-05 23:38:43 -08:00
2015-03-18 10:48:59 +11:00
2015-03-18 10:48:59 +11:00