|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v4 03/16] xen/riscv: build setup code as .init
At the moment, all code and data in setup.c are marked with __init or __init_data, so leverage this by using setup.init.o instead of setup.o in Makefile. Suggested-by: Jan Beulich <jbeulich@xxxxxxxx> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> --- Changes in V4: - New patch. --- xen/arch/riscv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/riscv/Makefile b/xen/arch/riscv/Makefile index caa1aac5b2f6..bc47e83b26d7 100644 --- a/xen/arch/riscv/Makefile +++ b/xen/arch/riscv/Makefile @@ -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 -- 2.52.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |