]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: l2c: fix revision checking
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Jul 2014 12:53:03 +0000 (13:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Jul 2014 16:55:22 +0000 (17:55 +0100)
commit9a2c33a422d60e8e55c5aff6752522dc39993b16
tree4938bf93369d33816248981f025431cf47ce473b
parent42309ab450b608ddcfafa90e4cfa93a5001ecfba
ARM: l2c: fix revision checking

The revision checking in l2c310_enable() was not correct; we were
masking the part number rather than the revision number.  Fix this
to use the correct macro.

Fixes: 4374d64933b1 ("ARM: l2c: add automatic enable of early BRESP")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c