]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc: Fix 64k pages on non-partitioned machines
authorArnd Bergmann <arnd.bergmann@de.ibm.com>
Thu, 15 Jun 2006 11:15:44 +0000 (21:15 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 17 Jun 2006 17:56:24 +0000 (10:56 -0700)
commit2577d439c89b6f26fe264987e0796e0d76610236
tree76254ae73875cd581c9ba6d6d193c3446faa311a
parentb141192f489a21775fd9369de4a96730be5033fd
[PATCH] powerpc: Fix 64k pages on non-partitioned machines

The page size encoding passed to tlbie is incorrect for new-style
large pages.  This fixes it.  This doesn't affect anything on older
machines because mmu_psize_defs[psize].penc (the page size encoding)
is 0 for 4k and 16M pages (the two are distinguished by a separate "is
a large page" bit).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/mm/hash_native_64.c