[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Move definition of pm_power_off to a more sensible location.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID ba4d42f186612fe8c8a4615f8bd0c8e2be20a8a4 # Parent dd5649730b324a135838785864e00f1a0c7d3442 Move definition of pm_power_off to a more sensible location. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r dd5649730b32 -r ba4d42f18661 linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c Fri Jan 6 11:53:19 2006 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c Fri Jan 6 11:59:55 2006 @@ -39,8 +39,6 @@ #ifdef CONFIG_XEN #include <asm/fixmap.h> #endif - -void (*pm_power_off)(void) = NULL; #ifdef CONFIG_X86_64 diff -r dd5649730b32 -r ba4d42f18661 linux-2.6-xen-sparse/arch/xen/kernel/reboot.c --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c Fri Jan 6 11:53:19 2006 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c Fri Jan 6 11:59:55 2006 @@ -16,6 +16,13 @@ #include <linux/cpu.h> #include <linux/kthread.h> #include <asm-xen/xencons.h> + +#if defined(__i386__) || defined(__x86_64__) +/* + * Power off function, if any + */ +void (*pm_power_off)(void); +#endif #define SHUTDOWN_INVALID -1 #define SHUTDOWN_POWEROFF 0 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |