aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-01-11 15:02:59 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-01-11 15:02:59 +0900
commitefb3e34b6176d30c4fe8635fa8e1beb6280cc2cd (patch)
treee5ed3fee988e3816a9f4ea47bf83970a010cb83e /arch/sh/kernel/cpu/sh4a/setup-sh7722.c
parent11e1ed6e88616be5489a43bc6297d9bb8464908b (diff)
sh: Fix up legacy PTEA space attribute mapping.
When p3_ioremap() was converted to ioremap_prot() there was some breakage introduced where the 29-bit segmentation logic would trap the area range and return an identity mapping without having allowed the area specification to force mapping through page tables. This wires up a PCC mask for pgprot verification to work out whether to short-circuit the identity mapping on legacy parts, restoring the previous behaviour. Reported-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: stable@kernel.org Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7722.c')
0 files changed, 0 insertions, 0 deletions