]> git.baikalelectronics.ru Git - kernel.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)
commit2282a6ebab01a9a1728dd880f952b50e779d3ef8
tree4938bf93369d33816248981f025431cf47ce473b
parentbdf0869df64782a2ad42c4cb0d16b408469c2d65
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: cfc083d06e77 ("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