diff options
author | Michael Ellerman <michael@ozlabs.org> | 2011-04-12 19:00:05 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-20 06:59:20 (GMT) |
commit | ee7a2aa3d3fd10a7157dd19f737b2bafdea0458f (patch) | |
tree | 2b562ba93b3c623d032c4808774366e357f21803 /arch/arm/oprofile/common.c | |
parent | 5e8e7b404ac965be45e25d5538676151de89aefb (diff) | |
download | linux-ee7a2aa3d3fd10a7157dd19f737b2bafdea0458f.tar.xz |
powerpc/mm: Fix slice state initialization for Book3E
On Book3E, MMU_NO_CONTEXT != 0, but the slice_mm_new_context()
macro assumes that it is. This means that the map of the
page sizes for each slice is always initialized to zeroes
(which happens to be 4k pages), rather than to the correct
default base page size value - which might be 64k.
This patch corrects the problem.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/arm/oprofile/common.c')
0 files changed, 0 insertions, 0 deletions