On 21.10.2019 17:57, Wei Liu wrote:
> The only user is Xen specific code in PV shim. We can therefore export
> the variable directly.
> 
> Signed-off-by: Wei Liu <li...@microsoft.com>
> Reviewed-by: Roger Pau Monné <roger....@citrix.com>

Acked-by: Jan Beulich <jbeul...@suse.com>
with, at this occasion, ...

> --- a/xen/arch/x86/guest/xen/xen.c
> +++ b/xen/arch/x86/guest/xen/xen.c
> @@ -37,7 +37,7 @@
>  
>  bool __read_mostly xen_guest;
>  
> -static __read_mostly uint32_t xen_cpuid_base;
> +__read_mostly uint32_t xen_cpuid_base;

... the __read_mostly moved to its more standard place (an example
is in context).

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to