ARM: tegra: Do L2 CMO before last CPU power down
authorBo Yan <byan@nvidia.com>
Thu, 6 Dec 2012 17:20:22 +0000 (09:20 -0800)
committerSimone Willett <swillett@nvidia.com>
Tue, 11 Dec 2012 00:15:13 +0000 (16:15 -0800)
commit3b071df607365c5e735d57adebc0079755a82c4b
tree8e0703873a93783c18247295af552af00b391a5f
parent4b49c9fc6a32e60617277219671ed532b059ea8d
ARM: tegra: Do L2 CMO before last CPU power down

Whether L2 flush is needed before powering down the last CPU
depends on the existence of external L2.  Therefore, fix the
conditional compilation appropriately.

Change-Id: I9f135edb71b8df22b04388676fa9365ee3908b52
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/169098
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
arch/arm/mach-tegra/pm.c