]> 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>
Thu, 22 May 2014 15:39:41 +0000 (16:39 +0100)
commitc308fdf235d5beffb5f7b703f1be2c4963abff52
tree60f52d0dcbff998f287d3e747bb9739e4b0df87f
parentfb2a6f0655017d3e7d0d33673e8a8b90b04f53dc
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