xref: /linux/arch/x86/power/Makefile (revision cc436a080ad45a0d98c5a37a4fd9c896ea6bcd8a)
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