xref: /linux/arch/x86/power/Makefile (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1# __restore_processor_state() restores %gs after S3 resume and so should not
2# itself be stack-protected
3nostackp := $(call cc-option, -fno-stack-protector)
4CFLAGS_cpu.o	:= $(nostackp)
5
6obj-$(CONFIG_PM_SLEEP)		+= cpu.o
7obj-$(CONFIG_HIBERNATION)	+= hibernate_$(BITS).o hibernate_asm_$(BITS).o
8