From: Russell King Date: Fri, 15 May 2015 11:03:29 +0000 (+0100) Subject: ARM: l2c: avoid passing auxiliary control register through enable method X-Git-Tag: omap-for-v4.2/fixes-rc1^2~100^2~7^3~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b290ec2074c68b9f4f8f8789fa9b3e1782869e7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed