[PATCH] ppc64: Fix typo bug in iSeries hash code
commit3078fcc1d18c7235b034dc889642c5300959fa20
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 21 Oct 2005 03:41:19 +0000 (21 13:41 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 21 Oct 2005 19:24:41 +0000 (21 12:24 -0700)
tree7d4a495e007a8edc59901fc40aaeeec448fd5883
parent2c86c83bf4e7fa1ef0d625e297607dc5d0d94dd4
[PATCH] ppc64: Fix typo bug in iSeries hash code

This fixes a stupid typo bug in the iSeries hash table code.

When we place a hash PTE in the secondary bucket, instead of setting the
SECONDARY flag bit, as we should, we (redundantly) set the VALID flag.

This was introduced with the patch abolishing bitfields from the hash
table code.  Mea culpa, oops.  It hasn't been noticed until now because
in practice we don't hit the secondary bucket terribly often.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/iSeries_htab.c