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

[Xen-changelog] [xen-unstable] x86: move watchdog declarations from config.h to nmi.h


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Tue, 19 Feb 2013 15:22:10 +0000
  • Delivery-date: Tue, 19 Feb 2013 15:22:18 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1360918037 -3600
# Node ID 3565d957839fe7a2c16528b93db18f70ef14323b
# Parent  0a09dc05c6702463a7909bf73b26b911dcbf3386
x86: move watchdog declarations from config.h to nmi.h

They don't belong into the former.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 0a09dc05c670 -r 3565d957839f xen/arch/x86/nmi.c
--- a/xen/arch/x86/nmi.c        Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/arch/x86/nmi.c        Fri Feb 15 09:47:17 2013 +0100
@@ -18,6 +18,7 @@
 #include <xen/lib.h>
 #include <xen/mm.h>
 #include <xen/irq.h>
+#include <xen/nmi.h>
 #include <xen/delay.h>
 #include <xen/time.h>
 #include <xen/sched.h>
diff -r 0a09dc05c670 -r 3565d957839f xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c   Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/arch/x86/shutdown.c   Fri Feb 15 09:47:17 2013 +0100
@@ -12,6 +12,7 @@
 #include <xen/delay.h>
 #include <xen/dmi.h>
 #include <xen/irq.h>
+#include <xen/nmi.h>
 #include <xen/console.h>
 #include <xen/shutdown.h>
 #include <xen/acpi.h>
diff -r 0a09dc05c670 -r 3565d957839f xen/common/gdbstub.c
--- a/xen/common/gdbstub.c      Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/common/gdbstub.c      Fri Feb 15 09:47:17 2013 +0100
@@ -38,6 +38,7 @@
 #include <xen/spinlock.h>
 #include <xen/serial.h>
 #include <xen/irq.h>
+#include <xen/nmi.h>
 #include <asm/debugger.h>
 #include <xen/init.h>
 #include <xen/smp.h>
diff -r 0a09dc05c670 -r 3565d957839f xen/common/kexec.c
--- a/xen/common/kexec.c        Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/common/kexec.c        Fri Feb 15 09:47:17 2013 +0100
@@ -12,6 +12,7 @@
 #include <xen/ctype.h>
 #include <xen/errno.h>
 #include <xen/guest_access.h>
+#include <xen/nmi.h>
 #include <xen/sched.h>
 #include <xen/types.h>
 #include <xen/kexec.h>
diff -r 0a09dc05c670 -r 3565d957839f xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/common/keyhandler.c   Fri Feb 15 09:47:17 2013 +0100
@@ -16,6 +16,7 @@
 #include <xen/ctype.h>
 #include <xen/perfc.h>
 #include <xen/mm.h>
+#include <xen/nmi.h>
 #include <xen/init.h>
 #include <asm/debugger.h>
 #include <asm/div64.h>
diff -r 0a09dc05c670 -r 3565d957839f xen/common/shutdown.c
--- a/xen/common/shutdown.c     Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/common/shutdown.c     Fri Feb 15 09:47:17 2013 +0100
@@ -4,6 +4,7 @@
 #include <xen/sched.h>
 #include <xen/domain.h>
 #include <xen/delay.h>
+#include <xen/nmi.h>
 #include <xen/shutdown.h>
 #include <xen/console.h>
 #ifdef CONFIG_KEXEC
diff -r 0a09dc05c670 -r 3565d957839f xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/drivers/char/console.c        Fri Feb 15 09:47:17 2013 +0100
@@ -20,6 +20,7 @@
 #include <xen/keyhandler.h>
 #include <xen/delay.h>
 #include <xen/guest_access.h>
+#include <xen/nmi.h>
 #include <xen/shutdown.h>
 #include <xen/video.h>
 #include <xen/kexec.h>
diff -r 0a09dc05c670 -r 3565d957839f xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/include/asm-x86/config.h      Fri Feb 15 09:47:17 2013 +0100
@@ -318,10 +318,4 @@ extern unsigned long xen_phys_start;
 
 #define ARCH_CRASH_SAVE_VMCOREINFO
 
-#ifndef __ASSEMBLY__
-extern void watchdog_disable(void);
-extern void watchdog_enable(void);
-extern void watchdog_setup(void);
-#endif
-
 #endif /* __X86_CONFIG_H__ */
diff -r 0a09dc05c670 -r 3565d957839f xen/include/asm-x86/nmi.h
--- a/xen/include/asm-x86/nmi.h Fri Feb 15 09:45:28 2013 +0100
+++ b/xen/include/asm-x86/nmi.h Fri Feb 15 09:47:17 2013 +0100
@@ -41,4 +41,8 @@ long register_guest_nmi_callback(unsigne
  */
 long unregister_guest_nmi_callback(void);
 
+void watchdog_disable(void);
+void watchdog_enable(void);
+void watchdog_setup(void);
+
 #endif /* ASM_NMI_H */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.