5a72e04df5
Using CPU hotplug to support suspend/resume SMP. Both S3 and S4 use disable/enable_nonboot_cpus API. The S4 part is based on Pavel's original S4 SMP patch. Signed-off-by: Li Shaohua<shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
11 lines
231 B
Makefile
11 lines
231 B
Makefile
|
|
ifeq ($(CONFIG_PM_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|
|
obj-y := main.o process.o console.o pm.o
|
|
obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o disk.o
|
|
|
|
obj-$(CONFIG_SUSPEND_SMP) += smp.o
|
|
|
|
obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
|