]> git.baikalelectronics.ru Git - kernel.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, 29 May 2014 23:48:08 +0000 (00:48 +0100)
commitc23ce5c2191c7424e0b3720cb70ae807bcd9eac3
tree1665f95058aea4c31e761e8b2e5dca86c7320e80
parenta2149a471cd7c0d6dedb42640a5e2602992ef0de
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