[PATCH] Fix bug in ppc64 dynamic hugepage support
authorDavid Gibson <dwg@au1.ibm.com>
Wed, 31 Aug 2005 04:34:05 +0000 (14:34 +1000)
committerLinus Torvalds <torvalds@evo.osdl.org>
Thu, 1 Sep 2005 17:48:20 +0000 (10:48 -0700)
commit319e76a1ae835c34a2838c2bfebe3db4d5a6b387
tree7e4ce062242df4690c6711ae1274d76e8ef5fce9
parent7eaa414ee86cda4c153002ed218b9a0ad17f7de1
[PATCH] Fix bug in ppc64 dynamic hugepage support

In adjusting the logic for SLB miss for the dynamic hugepage stuff, I
messed up the !CONFIG_HUGETLB_PAGE case, failing to set the SLB flags
properly.

This fixes it.  It also streamlines the logic for the HUGETLB_PAGE case
(removing a couple of branches) while we're at it.

Booted, and roughly tested on POWER5 (with and without HUGETLB_PAGE),
iSeries/RS64 (no hugepage available), and G5 (with and without
HUGETLB_PAGE).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/mm/slb_low.S