ARM: l2c: rename cache_wait_way()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Mar 2014 16:48:14 +0000 (16:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:47:39 +0000 (00:47 +0100)
commit83841fe1fb0c4316af89ab85d3528702724a33f4
tree4c60c444906a5636067b19cc8f5fbf3fe7d7bf5b
parentdf5dd4c6e27081bce2c68cdc2e57a93ea998b63e
ARM: l2c: rename cache_wait_way()

cache_wait_way() is actually used to wait for a particular mask to
report clear; it's not really got much to do with cache ways at all.
Indeed, it gets used to wait for the C bit to clear on older caches.
Rename this with a more generic function name which better reflects
its purpose: l2c_wait_mask().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c