forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/arch/x86/power/Makefile
....@@ -3,8 +3,7 @@
33
44 # __restore_processor_state() restores %gs after S3 resume and so should not
55 # itself be stack-protected
6
-nostackp := $(call cc-option, -fno-stack-protector)
7
-CFLAGS_cpu.o := $(nostackp)
6
+CFLAGS_cpu.o := -fno-stack-protector
87
98 obj-$(CONFIG_PM_SLEEP) += cpu.o
10
-obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
9
+obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o