mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/riscv: build setup code as .init
At the moment, all code and data in setup.c are marked with __init or __initdata, which is intended to remain this way. Leverage this by using setup.init.o instead of setup.o in Makefile. Suggested-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
ad535118f0
commit
8ca1a1d5e6
1 file changed
+1
-1
@@ -12,7 +12,7 @@ obj-y += paging.o
|
||||
obj-y += pt.o
|
||||
obj-$(CONFIG_RISCV_64) += riscv64/
|
||||
obj-y += sbi.o
|
||||
obj-y += setup.o
|
||||
obj-y += setup.init.o
|
||||
obj-y += shutdown.o
|
||||
obj-y += smp.o
|
||||
obj-y += smpboot.o
|
||||
|
||||