blob: a6a198c336238f63a2c0962fe2f94212ee6712e2 [file] [log] [blame]
Joseph Cihula9b7b89e2009-03-30 14:03:01 -07001# __restore_processor_state() restores %gs after S3 resume and so should not
2# itself be stack-protected
3nostackp := $(call cc-option, -fno-stack-protector)
Peter Chubb00024be2009-07-08 13:20:13 +02004CFLAGS_cpu.o := $(nostackp)
Joseph Cihula9b7b89e2009-03-30 14:03:01 -07005
Sergio Luis08687ae2009-04-28 00:27:22 +02006obj-$(CONFIG_PM_SLEEP) += cpu.o
Rafael J. Wysockief8b03f2008-02-09 23:24:09 +01007obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o