|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] make use of .startof.() and .sizeof.() assembler expressions
Hi Jan, On 30/08/16 14:09, Jan Beulich wrote: On 30.08.16 at 14:50, <julien.grall@xxxxxxx> wrote:On 24/08/16 08:44, Jan Beulich wrote: This looks quite fragile, with this patch you are now assuming that all the sections will not be empty. As we go towards a modular Xen, this may lead to more linker error. For instance, it might be possible in the future to not compiled unnecessary platform specific code. As not all the boards requires platform specific code, the section may get empty. If you want to add it, it should be a separate patch and we should go further by removing the section in the linker script.While I don't think this needs to be broken out, it certainly can (but then really there should have been a conditional like the one I introduce from the beginning, to avoid having dead code in a non- ACPI enabled binary). It was an oversight while reviewing the patch adding acpi_device_init and I thought you added CONFIG_ACPI just for comestic.
Oh, sorry I got confused. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |