>>> On 14.08.17 at 17:46, wrote:
> --- a/xen/arch/x86/x86_64/compat/mm.c
> +++ b/xen/arch/x86/x86_64/compat/mm.c
> @@ -53,6 +53,7 @@ int compat_arch_memory_op(unsigned long cmd,
> XEN_GUEST_HANDLE_PARAM(void) arg)
> compat_pfn_t mfn;
> unsigned int i;
> int rc = 0;
> +struct vc
Hi Wei,
On 14/08/17 16:46, Wei Liu wrote:
The function is the same on both x86 and arm. Lift it to sched.h to
save a function call, make it take a pointer to vcpu to avoid
resolving current every time it gets called.
Take the chance to change its callers to only use one current in code.
Signed