sh: Stub out legacy PCC pgprot encoding for X2 TLBs.
commit11e1ed6e88616be5489a43bc6297d9bb8464908b
authorPaul Mundt <lethal@linux-sh.org>
Tue, 11 Jan 2011 06:00:26 +0000 (11 15:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 11 Jan 2011 06:00:26 +0000 (11 15:00 +0900)
treeb0d331e7badd3b0dcdff6d11d951c50a136de195
parentc81fc389255d287dbfb17a70cd172663f962341a
sh: Stub out legacy PCC pgprot encoding for X2 TLBs.

Presently it's still possible to reference the PAGE_KERNEL_PCC pgprot
encoding on X2 TLBs which simply don't support it at all. Convert this
over to follow the nommu behaviour and simply hand back an invalid pgprot
value so we error out properly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/pgtable_32.h