kernel/arch/x86/power/Makefile
.. .. @@ -3,8 +3,7 @@ 3 3 4 4 # __restore_processor_state() restores %gs after S3 resume and so should not 5 5 # itself be stack-protected 6 -nostackp := $(call cc-option, -fno-stack-protector)7 -CFLAGS_cpu.o := $(nostackp)6 +CFLAGS_cpu.o := -fno-stack-protector8 7 9 8 obj-$(CONFIG_PM_SLEEP) += cpu.o 10 -obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o9 +obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o