[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/5] arm/alternatives: Fix apply_alternatives() API
Hi, On 29/01/18 20:23, Stefano Stabellini wrote: On Mon, 29 Jan 2018, Andrew Cooper wrote:The !HAS_ALTERNATIVE case has bit-rotten and won't even compile. The x86 side of apply_alternatives() is void, while the ARM side returns int. However, the functions can't fail and no return values are checked. Switch the ARM side to be void as well. One observation is that __apply_alternatives_multi_stop() is only used at boot time, so can become __init and its static data can become __initdata Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>--- CC: Jan Beulich <JBeulich@xxxxxxxx> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> CC: Julien Grall <julien.grall@xxxxxxx> CC: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> CC: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx> TODO: Drop the !HAS_ALTERNATIVE case on ARM?Yeah, we could do. Julien, what do you think? Sounds good. In that case, we should remove all the reference of HAS_ALTERNATIVE in the code. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |