blob: 58b32db33125a9eb13cc3859597cfb5b32b2cb4c [file] [log] [blame]
Joseph Cihula9b7b89e2009-03-30 14:03:01 -07001# __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_$(BITS).o := $(nostackp)
5
Rafael J. Wysockief8b03f2008-02-09 23:24:09 +01006obj-$(CONFIG_PM_SLEEP) += cpu_$(BITS).o
7obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o