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