aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-02-10 02:04:45 -0800
committerCaio Schnepper <caioschnepper@gmail.com>2015-07-01 09:01:09 -0300
commitbea86fff3cf23c564a5e700ea0e22b53b3972bda (patch)
treec1b3289e1ecc637ee0980b12760672e7df396206 /kernel/Makefile
parentc3b9ee245679dc2f7251c92c422cdb3b60b758b5 (diff)
downloadkernel_samsung_smdk4412-bea86fff3cf23c564a5e700ea0e22b53b3972bda.zip
kernel_samsung_smdk4412-bea86fff3cf23c564a5e700ea0e22b53b3972bda.tar.gz
kernel_samsung_smdk4412-bea86fff3cf23c564a5e700ea0e22b53b3972bda.tar.bz2
cpu_pm: Add cpu power management notifiers
During some CPU power modes entered during idle, hotplug and suspend, peripherals located in the CPU power domain, such as the GIC, localtimers, and VFP, may be powered down. Add a notifier chain that allows drivers for those peripherals to be notified before and after they may be reset. Notified drivers can include VFP co-processor, interrupt controller and it's PM extensions, local CPU timers context save/restore which shouldn't be interrupted. Hence CPU PM event APIs must be called with interrupts disabled. Change-Id: I2918473962a75cd55c148f91a3c09a773c99162c Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org> Tested-by: Kevin Hilman <khilman@ti.com> Tested-by: Vishwanath BS <vishwanath.bs@ti.com> Signed-off-by: Lanchon <lanchon@gmail.com>
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 9f66566..a1096de 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -101,6 +101,7 @@ obj-$(CONFIG_RING_BUFFER) += trace/
obj-$(CONFIG_TRACEPOINTS) += trace/
obj-$(CONFIG_SMP) += sched_cpupri.o
obj-$(CONFIG_IRQ_WORK) += irq_work.o
+obj-$(CONFIG_CPU_PM) += cpu_pm.o
obj-$(CONFIG_PERF_EVENTS) += events/