From: Rob Herring Date: Sun, 18 Aug 2013 01:10:28 +0000 (-0500) Subject: ARM: highbank: avoid L2 cache smc calls when PL310 is not present X-Git-Tag: v3.12-rc1~75^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a56a5cf1f2ec895599eace0ac6eba1e4a489e4bf;p=pandora-kernel.git ARM: highbank: avoid L2 cache smc calls when PL310 is not present While Midway firmware handles L2 smc calls as nops, the custom smc calls present a problem when running virtualized Midway guest. They aren't needed so just avoid calling them. In the process, cleanup the L2X0 ifdefs and use IS_ENABLED instead. Signed-off-by: Rob Herring --- Reading git-diff-tree failed