mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:56:53 +07:00
08687aec71
This is the last unification step. Here we do remove one of the files and rename the left one as cpu.c, as both are now the same. Also update power/Makefile, telling it to build cpu.o, instead of cpu_(32|64).o Signed-off-by: Sergio Luis <sergio@larces.uece.br> Signed-off-by: Lauro Salmito <laurosalmito@gmail.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
8 lines
300 B
Makefile
8 lines
300 B
Makefile
# __restore_processor_state() restores %gs after S3 resume and so should not
|
|
# itself be stack-protected
|
|
nostackp := $(call cc-option, -fno-stack-protector)
|
|
CFLAGS_cpu_$(BITS).o := $(nostackp)
|
|
|
|
obj-$(CONFIG_PM_SLEEP) += cpu.o
|
|
obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
|