]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[POWERPC] Fix special PTE code for secondary hash bucket
authorPaul Mackerras <paulus@samba.org>
Fri, 3 Aug 2007 09:16:11 +0000 (19:16 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 3 Aug 2007 09:16:11 +0000 (19:16 +1000)
commit430404ed9c2f202ca9d3c8072699b2b0279e4dfe
treed9e8d70d3daf2f04e7dc76b2d774964bae060804
parentc0f7c6cb5dbb6d90e0334e62376dbc6ac3d1d315
[POWERPC] Fix special PTE code for secondary hash bucket

The code for mapping special 4k pages on kernels using a 64kB base
page size was missing the code for doing the RPN (real page number)
manipulation when inserting the hardware PTE in the secondary hash
bucket.  It needs the same code as has already been added to the
code that inserts the HPTE in the primary hash bucket.  This adds it.

Spotted by Ben Herrenschmidt.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_low_64.S