diff options
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2013-11-07 18:37:14 +0000 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-04-16 21:36:32 +0900 |
commit | 64cdba298469c343769f74e9865033a5f2d24b3b (patch) | |
tree | 7e2f3af2a7b870ab9f8b4f303c44fcd9d4955d5b /arch/arm64/kernel/Makefile | |
parent | b3433efdd2a3df7fa3177bb65201b7188bd5052f (diff) | |
download | linux-3.10-64cdba298469c343769f74e9865033a5f2d24b3b.tar.gz linux-3.10-64cdba298469c343769f74e9865033a5f2d24b3b.tar.bz2 linux-3.10-64cdba298469c343769f74e9865033a5f2d24b3b.zip |
arm64: kernel: add PM build infrastructure
This patch adds the required makefile and kconfig entries to enable PM
for arm64 systems.
The kernel relies on the cpu_{suspend}/{resume} infrastructure to
properly save the context for a CPU and put it to sleep, hence this
patch adds the config option required to enable cpu_{suspend}/{resume}
API.
In order to rely on the CPU PM implementation for saving and restoring
of CPU subsystems like GIC and PMU, the arch Kconfig must be also
augmented to select the CONFIG_CPU_PM option when SUSPEND or CPU_IDLE
kernel implementations are selected.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'arch/arm64/kernel/Makefile')
-rw-r--r-- | arch/arm64/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index 5ba2fd43a75..1cd339d5037 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile @@ -18,6 +18,7 @@ arm64-obj-$(CONFIG_SMP) += smp.o smp_spin_table.o arm64-obj-$(CONFIG_HW_PERF_EVENTS) += perf_event.o arm64-obj-$(CONFIG_HAVE_HW_BREAKPOINT)+= hw_breakpoint.o arm64-obj-$(CONFIG_EARLY_PRINTK) += early_printk.o +arm64-obj-$(CONFIG_ARM64_CPU_SUSPEND) += sleep.o suspend.o obj-y += $(arm64-obj-y) vdso/ obj-m += $(arm64-obj-m) |