]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: l2c: clean up save/resume functions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Mar 2014 16:48:13 +0000 (16:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 14 Apr 2014 10:15:53 +0000 (11:15 +0100)
commit9f2556fafa26213809d9d57a27cb1c7d6703b3b8
tree4efd7aeb5ccff5ad5688e3cfa39a051aa83dc822
parentad78a2115a1c75f8f07e244dd90420ef6a721c9a
ARM: l2c: clean up save/resume functions

Rename the pl310 save/resume functions to have a l2c310 prefix - this
is it's official name.  Use a local cached copy of the l2x0_base
virtual address, and also realise that many of the resume function
tails are the same as the enable functions, so make a call to the
enable function instead of duplicating that code.

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