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

Re: [Xen-devel] [PATCH v4 21/27] x86: move compat_set_trap_table along side the non-compat variant



On 08/06/17 18:11, Wei Liu wrote:
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
>  xen/arch/x86/pv/traps.c            | 45 
> ++++++++++++++++++++++++++++++++++++++
>  xen/arch/x86/x86_64/compat/traps.c | 45 
> --------------------------------------
>  2 files changed, 45 insertions(+), 45 deletions(-)
>
> diff --git a/xen/arch/x86/pv/traps.c b/xen/arch/x86/pv/traps.c
> index f2556c7e4a..3dcb3f1877 100644
> --- a/xen/arch/x86/pv/traps.c
> +++ b/xen/arch/x86/pv/traps.c
> @@ -87,6 +87,51 @@ long 
> do_set_trap_table(XEN_GUEST_HANDLE_PARAM(const_trap_info_t) traps)
>      return rc;
>  }
>  
> +int compat_set_trap_table(XEN_GUEST_HANDLE(trap_info_compat_t) traps)
> +{

struct vcpu *curr = current;

Otherwise, Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

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

 


Rackspace

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