[POWERPC] Expand RPN field to 34 bits when using 64k pages
authorPaul Mackerras <paulus@samba.org>
Fri, 3 Aug 2007 04:08:24 +0000 (14:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 3 Aug 2007 04:08:24 +0000 (14:08 +1000)
commitc0f7c6cb5dbb6d90e0334e62376dbc6ac3d1d315
tree37c6d023d743a1bcf23f3caa28fae08310ef30a9
parent7a883eaf62f4b943ebec738ce3b0796c67ef5d32
[POWERPC] Expand RPN field to 34 bits when using 64k pages

The real page number field in our PTEs when configured for 64kB pages
is currently 32 bits, which turns out to be not quite enough for the
resources that the eHCA driver wants to map.  This expands the RPN
field to include 2 adjacent, previously-unused bits.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/asm-powerpc/pgtable-64k.h