Joseph Cihula | 9b7b89e | 2009-03-30 14:03:01 -0700 | [diff] [blame^] | 1 | # __restore_processor_state() restores %gs after S3 resume and so should not |
2 | # itself be stack-protected | ||||
3 | nostackp := $(call cc-option, -fno-stack-protector) | ||||
4 | CFLAGS_cpu_$(BITS).o := $(nostackp) | ||||
5 | |||||
Rafael J. Wysocki | ef8b03f | 2008-02-09 23:24:09 +0100 | [diff] [blame] | 6 | obj-$(CONFIG_PM_SLEEP) += cpu_$(BITS).o |
7 | obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o |