change arguments of do_kexec_op and compat_set_timer_op prototypes
authorRobbie VanVossen <robert.vanvossen@dornerworks.com>
Wed, 6 Mar 2013 16:08:08 +0000 (17:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 6 Mar 2013 16:08:08 +0000 (17:08 +0100)
... to match the actual functions.

Signed-off-by: Robbie VanVossen <robert.vanvossen@dornerworks.com>
Also make sure the source files defining these symbols include the
header declaring them (had we done so, the problem would have been
noticed long ago).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/kexec.c
xen/common/schedule.c
xen/include/xen/hypercall.h

index 7b04c1cff49a787cbc415945eda970bdc971cfa0..1ba85564dbea158a7c6833d55388e132e2c0519f 100644 (file)
@@ -15,6 +15,7 @@
 #include <xen/nmi.h>
 #include <xen/sched.h>
 #include <xen/types.h>
+#include <xen/hypercall.h>
 #include <xen/kexec.h>
 #include <xen/keyhandler.h>
 #include <public/kexec.h>
index de111105c4218a9f31667fe75ed59083246591db..5f677c36f8d6e9ce160c55b985f134a9d46e95c9 100644 (file)
@@ -30,6 +30,7 @@
 #include <xen/mm.h>
 #include <xen/err.h>
 #include <xen/guest_access.h>
+#include <xen/hypercall.h>
 #include <xen/multicall.h>
 #include <xen/cpu.h>
 #include <xen/preempt.h>
index 7c3d71949d9a018945c0cbc930e7dc6a848c7923..a9e522937dc7480994b26c6b4d88a0a728c37cd2 100644 (file)
@@ -126,8 +126,7 @@ do_hvm_op(
 extern long
 do_kexec_op(
     unsigned long op,
-    int arg1,
-    XEN_GUEST_HANDLE_PARAM(void) arg);
+    XEN_GUEST_HANDLE_PARAM(void) uarg);
 
 extern long
 do_xsm_op(
@@ -174,7 +173,8 @@ compat_sched_op(
 
 extern int
 compat_set_timer_op(
-    s_time_t timeout);
+    u32 lo,
+    s32 hi);
 
 #endif