[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen/arm: acpi: Include header file for version number



On Tue, Sep 06, 2022 at 01:09:28PM +0000, Bertrand Marquis wrote:
> Hi Leo,
> 
> > On 6 Sep 2022, at 12:31, Leo Yan <leo.yan@xxxxxxxxxx> wrote:
> > 
> > On Arm64 Linux kernel prints log for Xen version number:
> > 
> >  [    0.000000] Xen XEN_VERSION.XEN_SUBVERSION support found
> > 
> > Because the header file "xen/compile.h" is missed, XEN_VERSION and
> > XEN_SUBVERSION are not defined, thus compiler directly uses the
> > string "XEN_VERSION" and "XEN_SUBVERSION" in the compatible string.
> > 
> > This patch includes the header "xen/compile.h" which defines macros for
> > XEN_VERSION and XEN_SUBVERSION, thus Xen can pass the version number via
> > hypervisor node.
> > 
> > Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
> 
> Very nice finding and side effect from stringify.
> 
> Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

Thanks for review, Bertrand.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.