diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-08-10 09:51:01 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-08-10 09:51:01 +0200 |
commit | 700a91d3c162f0af6190e7cb732d85ee2a981550 (patch) | |
tree | 551c2344e8206dd6cce59617a69c8e0405a250b9 /xen/common/kexec.c | |
parent | 86485a8e3878a5226c5ce14039f989e85b356766 (diff) | |
download | xen-700a91d3c162f0af6190e7cb732d85ee2a981550.tar.gz xen-700a91d3c162f0af6190e7cb732d85ee2a981550.tar.bz2 xen-700a91d3c162f0af6190e7cb732d85ee2a981550.zip |
make all (native) hypercalls consistently have "long" return type
for common and x86 ones at least, to address the problem of storing
zero-extended values into the multicall result field otherwise.
Reported-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r-- | xen/common/kexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c index 09a56249e2..2bc3e33951 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -845,8 +845,8 @@ static int kexec_exec(XEN_GUEST_HANDLE(void) uarg) return -EINVAL; /* never reached */ } -int do_kexec_op_internal(unsigned long op, XEN_GUEST_HANDLE(void) uarg, - int compat) +static int do_kexec_op_internal(unsigned long op, XEN_GUEST_HANDLE(void) uarg, + bool_t compat) { unsigned long flags; int ret = -EINVAL; |