]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix 64K page size support for PPC44x
authorAlistair Popple <alistair@popple.id.au>
Thu, 17 Oct 2013 06:08:28 +0000 (17:08 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2013 05:00:51 +0000 (16:00 +1100)
commita18e06666c3636cd27e5e090fcd8a1aa2ddb7e83
tree3f9f431ea50603c7c119aa74a5f55d9185d92916
parent8dc99f7836ed2be42fcad5ba4ffaf9b1639bde61
powerpc: Fix 64K page size support for PPC44x

PPC44x supports page sizes other than 4K however when 64K page sizes
are selected compilation fails. This is due to a change in the
definition of pgtable_t introduced by the following patch:

commit 9cb62341ab75767d10db8d5d22d0850e960c7b53
Author: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
powerpc: Reduce PTE table memory wastage

The above patch only implements the new layout for PPC64 so it doesn't
compile for PPC32 with a 64K page size. Ideally we should implement
the same layout for PPC32 however for the meantime this patch reverts
the definition of pgtable_t for PPC32.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/page.h