x86: modify hvm_memory_op() prototype
authorJuergen Gross <jgross@suse.com>
Wed, 24 Nov 2021 10:02:24 +0000 (11:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Nov 2021 10:02:24 +0000 (11:02 +0100)
commit5168b6ee9139dbebe5771482664b329c8644e2df
treebbfedb768df9b0035911e8cfbef5980c0e74e59a
parent95d1511fe0a3e603e2604574da65d2eb8c541baf
x86: modify hvm_memory_op() prototype

hvm_memory_op() should take an unsigned long as cmd, like
do_memory_op().

As hvm_memory_op() is basically just calling do_memory_op() (or
compat_memory_op()) passing through the parameters the cmd parameter
should have no smaller size than that of the called functions.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hypercall.c