ia64/xen-unstable

changeset 7284:17f110647efa

Change xenbus callbacks to match new signature of xenbus_watch.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Sun Oct 09 11:52:24 2005 +0100 (2005-10-09)
parents 2144de6eabcc
children f15892b95965
files linux-2.6-xen-sparse/arch/xen/kernel/reboot.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Sat Oct 08 19:19:27 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c	Sun Oct 09 11:52:24 2005 +0100
     1.3 @@ -270,7 +270,8 @@ static void __shutdown_handler(void *unu
     1.4  	}
     1.5  }
     1.6  
     1.7 -static void shutdown_handler(struct xenbus_watch *watch, const char *node)
     1.8 +static void shutdown_handler(struct xenbus_watch *watch,
     1.9 +			     const char **vec, unsigned int len)
    1.10  {
    1.11  	static DECLARE_WORK(shutdown_work, __shutdown_handler, NULL);
    1.12  	char *str;
    1.13 @@ -315,7 +316,8 @@ static void shutdown_handler(struct xenb
    1.14  }
    1.15  
    1.16  #ifdef CONFIG_MAGIC_SYSRQ
    1.17 -static void sysrq_handler(struct xenbus_watch *watch, const char *node)
    1.18 +static void sysrq_handler(struct xenbus_watch *watch, const char **vec,
    1.19 +			  unsigned int len)
    1.20  {
    1.21  	char sysrq_key = '\0';
    1.22  	int err;
    1.23 @@ -411,4 +413,3 @@ subsys_initcall(setup_shutdown_event);
    1.24   *  tab-width: 8
    1.25   * End:
    1.26   */
    1.27 -#