blob: 05041871ac9098026bbe2614a70d03f1bfd6f816 [file] [log] [blame]
Josh Poimboeuf935893a2017-06-28 10:11:06 -05001OBJECT_FILES_NON_STANDARD_hibernate_asm_$(BITS).o := y
2
Joseph Cihula9b7b89e2009-03-30 14:03:01 -07003# __restore_processor_state() restores %gs after S3 resume and so should not
4# itself be stack-protected
5nostackp := $(call cc-option, -fno-stack-protector)
Peter Chubb00024be2009-07-08 13:20:13 +02006CFLAGS_cpu.o := $(nostackp)
Joseph Cihula9b7b89e2009-03-30 14:03:01 -07007
Sergio Luis08687ae2009-04-28 00:27:22 +02008obj-$(CONFIG_PM_SLEEP) += cpu.o
Rafael J. Wysockief8b03f2008-02-09 23:24:09 +01009obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o