[ARM] gic: Add functions to save and restore gic state
authorColin Cross <ccross@android.com>
Fri, 1 Oct 2010 00:52:45 +0000 (17:52 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:26:16 +0000 (16:26 -0700)
commitcd24a00ad75caf98ce0e2c6bae859c65b563940b
tree571c82c7ef9603005068c6c32c4552115eeb6843
parent7fab6bf0452340330bc007996e14da18ba2db066
[ARM] gic: Add functions to save and restore gic state

on systems with idle states which power-gate the logic including
the gic, such as tegra, the gic distributor needs to be shut down
and restored on entry and exit from the architecture idle code

Change-Id: I17603f5ac70d65c05587d0647cce3ba87675e117
Original-author: Gary King <gking@nvidia.com>
Signed-off-by: Gary King <gking@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/common/gic.c
arch/arm/include/asm/hardware/gic.h