sh: Fix up L2 cache probe.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 9 Apr 2008 08:58:22 +0000 (17:58 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 18 Apr 2008 16:50:07 +0000 (09:50 -0700)
commit440fc172ae333c52c458401fe059afcc6e91eebf
treebc25cfb81ec590ff5d8eb8facd84206248f93d2c
parente5a4c65bef19366112ba002bc06d87450f02ad74
sh: Fix up L2 cache probe.

SH7723 is the first hard silicon to implement the L2, and unsurprisingly,
does the precise inverse of what the specification alleges. XOR the
URAM/L2 size bits to get back in line with the existing parsing logic.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/probe.c