summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/v7m.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-05-15 12:03:29 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-05-15 20:30:54 +0100
commit5b290ec2074c68b9f4f8f8789fa9b3e1782869e7 (patch)
treedad4dffa4712713bc97b627362b47666f539c3c5 /arch/arm/kernel/v7m.c
parente946a8cbe4a47a7c2615ffb0d45712e72c7d0f3a (diff)
ARM: l2c: avoid passing auxiliary control register through enable method
Avoid passing the auxiliary control register value through the enable method. In the resume path, we have to read the value stored in l2x0_saved_regs.aux_ctrl, only to have it immediately written back by l2c_enable(). We can avoid this if we have __l2c_init() save the value directly to l2x0_saved_regs.aux_ctrl before calling the specific enable method. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/v7m.c')
0 files changed, 0 insertions, 0 deletions