[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Change xenbus callbacks to match new signature of xenbus_watch.



# HG changeset patch
# User emellor@ewan
# Node ID 17f110647efac3e98d5977707e6df3c6be2e8426
# Parent  2144de6eabcc7fc6272a8ca088008ef92c05aa6b
Change xenbus callbacks to match new signature of xenbus_watch.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 2144de6eabcc -r 17f110647efa 
linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
--- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c     Sat Oct  8 18:19:27 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c     Sun Oct  9 10:52:24 2005
@@ -270,7 +270,8 @@
        }
 }
 
-static void shutdown_handler(struct xenbus_watch *watch, const char *node)
+static void shutdown_handler(struct xenbus_watch *watch,
+                            const char **vec, unsigned int len)
 {
        static DECLARE_WORK(shutdown_work, __shutdown_handler, NULL);
        char *str;
@@ -315,7 +316,8 @@
 }
 
 #ifdef CONFIG_MAGIC_SYSRQ
-static void sysrq_handler(struct xenbus_watch *watch, const char *node)
+static void sysrq_handler(struct xenbus_watch *watch, const char **vec,
+                         unsigned int len)
 {
        char sysrq_key = '\0';
        int err;
@@ -411,4 +413,3 @@
  *  tab-width: 8
  * End:
  */
-#

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.