x86: Fix resume from suspend when CONFIG_CC_STACKPROTECTOR
[linux-2.6.git] / arch / x86 / power / Makefile
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.o    := $(nostackp)
5
6 obj-$(CONFIG_PM_SLEEP)          += cpu.o
7 obj-$(CONFIG_HIBERNATION)       += hibernate_$(BITS).o hibernate_asm_$(BITS).o