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

Re: [Xen-devel] [PATCH v3] x86/hvm/viridian: zero and check vcpu context __pad field



>>> On 30.03.16 at 13:34, <paul.durrant@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/mm.c
> +++ b/xen/arch/x86/mm.c
> @@ -589,7 +589,8 @@ static inline void guest_get_eff_kern_l1e(struct vcpu *v, 
> unsigned long addr,
>      TOGGLE_MODE();
>  }
>  
> -static const char __section(".bss.page_aligned.const") zero_page[PAGE_SIZE];
> +static const char __section(".bss.page_aligned.const") 
> __zero_page[PAGE_SIZE];
> +const char *zero_page = __zero_page;

Mind explaining why simply dropping the "static" doesn't do what we
want?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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