[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 3/9] version/livepatch: Move xen_build_id_check to version.h
>>> On 14.08.16 at 23:52, <konrad.wilk@xxxxxxxxxx> wrote: > It makes more sense for it to be there. However that > means the version.h has now a dependency on <xen/elfstructs.h> > as the Elf_Note is a macro. > > The elfstructs.h has a dependency on types.h as well so > we need that. We cannot put that #include <xen/types.h> > in elfstructs.h as that file is used by tools and they > do not have such file. I think that's acceptable, as the number of places this header gets included is pretty limited. Hence the alternative of making the declaration conditional upon Elf_Note being defined is likely the uglier one (as it would impose ordering constraints on the #include-s used by respective source files). > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |