aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/compat
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-08-10 09:51:01 +0200
committerJan Beulich <jbeulich@suse.com>2012-08-10 09:51:01 +0200
commit700a91d3c162f0af6190e7cb732d85ee2a981550 (patch)
tree551c2344e8206dd6cce59617a69c8e0405a250b9 /xen/common/compat
parent86485a8e3878a5226c5ce14039f989e85b356766 (diff)
downloadxen-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/compat')
-rw-r--r--xen/common/compat/xenoprof.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/common/compat/xenoprof.c b/xen/common/compat/xenoprof.c
index 00baac859c..66fd99e155 100644
--- a/xen/common/compat/xenoprof.c
+++ b/xen/common/compat/xenoprof.c
@@ -5,6 +5,7 @@
#include <compat/xenoprof.h>
#define COMPAT
+#define ret_t int
#define do_xenoprof_op compat_xenoprof_op