On 08/06/17 18:11, Wei Liu wrote: > Signed-off-by: Wei Liu <wei.l...@citrix.com> > --- > 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.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel