From: Paul Mundt Date: Tue, 11 Jan 2011 06:02:59 +0000 (+0900) Subject: sh: Fix up legacy PTEA space attribute mapping. X-Git-Tag: v2.6.37.1~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3033aa7eb6f36ffa6d16ae643b1b1002cabfa764;p=pandora-kernel.git sh: Fix up legacy PTEA space attribute mapping. commit efb3e34b6176d30c4fe8635fa8e1beb6280cc2cd upstream. 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 Signed-off-by: Paul Mundt Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed