From: "Jan Beulich" Subject: [PATCH] x86: move watchdog declarations from config.h to nmi.h Date: Thu, 14 Feb 2013 17:01:52 +0000 Message-ID: <511D269002000078000BE73A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartAC9CED90.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartAC9CED90.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline They don't belong into the former. Signed-off-by: Jan Beulich --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include --- a/xen/common/gdbstub.c +++ b/xen/common/gdbstub.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include --- a/xen/common/keyhandler.c +++ b/xen/common/keyhandler.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include --- a/xen/common/shutdown.c +++ b/xen/common/shutdown.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #ifdef CONFIG_KEXEC --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include --- a/xen/include/asm-x86/config.h +++ b/xen/include/asm-x86/config.h @@ -317,10 +317,4 @@ extern unsigned long xen_phys_start; =20 #define ARCH_CRASH_SAVE_VMCOREINFO =20 -#ifndef __ASSEMBLY__ -extern void watchdog_disable(void); -extern void watchdog_enable(void); -extern void watchdog_setup(void); -#endif - #endif /* __X86_CONFIG_H__ */ --- a/xen/include/asm-x86/nmi.h +++ b/xen/include/asm-x86/nmi.h @@ -41,4 +41,8 @@ long register_guest_nmi_callback(unsigne */ long unregister_guest_nmi_callback(void); =20 +void watchdog_disable(void); +void watchdog_enable(void); +void watchdog_setup(void); + #endif /* ASM_NMI_H */ --=__PartAC9CED90.0__= Content-Type: text/plain; name="x86-move-watchdog-decls.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-move-watchdog-decls.patch" x86: move watchdog declarations from config.h to nmi.h=0A=0AThey don't = belong into the former.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/arch/x86/nmi.c=0A+++ b/xen/arch/x86/nmi.c=0A@@ -18,6 +18,7 = @@=0A #include =0A #include =0A #include = =0A+#include =0A #include =0A #include = =0A #include =0A--- a/xen/arch/x86/shutdown.c=0A+++ b/xen/arch= /x86/shutdown.c=0A@@ -12,6 +12,7 @@=0A #include =0A #include = =0A #include =0A+#include =0A #include = =0A #include =0A #include =0A---= a/xen/common/gdbstub.c=0A+++ b/xen/common/gdbstub.c=0A@@ -38,6 +38,7 = @@=0A #include =0A #include =0A #include = =0A+#include =0A #include =0A = #include =0A #include =0A--- a/xen/common/kexec.c=0A= +++ b/xen/common/kexec.c=0A@@ -12,6 +12,7 @@=0A #include =0A = #include =0A #include =0A+#include = =0A #include =0A #include =0A = #include =0A--- a/xen/common/keyhandler.c=0A+++ b/xen/common/k= eyhandler.c=0A@@ -16,6 +16,7 @@=0A #include =0A #include = =0A #include =0A+#include =0A #include = =0A #include =0A #include =0A--- = a/xen/common/shutdown.c=0A+++ b/xen/common/shutdown.c=0A@@ -4,6 +4,7 @@=0A = #include =0A #include =0A #include = =0A+#include =0A #include =0A #include = =0A #ifdef CONFIG_KEXEC=0A--- a/xen/drivers/char/console.c= =0A+++ b/xen/drivers/char/console.c=0A@@ -20,6 +20,7 @@=0A #include = =0A #include =0A #include =0A+#include =0A #include =0A #include = =0A #include =0A--- a/xen/include/asm-x86/config.= h=0A+++ b/xen/include/asm-x86/config.h=0A@@ -317,10 +317,4 @@ extern = unsigned long xen_phys_start;=0A =0A #define ARCH_CRASH_SAVE_VMCOREINFO=0A = =0A-#ifndef __ASSEMBLY__=0A-extern void watchdog_disable(void);=0A-extern = void watchdog_enable(void);=0A-extern void watchdog_setup(void);=0A-#endif= =0A-=0A #endif /* __X86_CONFIG_H__ */=0A--- a/xen/include/asm-x86/nmi.h=0A+= ++ b/xen/include/asm-x86/nmi.h=0A@@ -41,4 +41,8 @@ long register_guest_nmi_= callback(unsigne=0A */=0A long unregister_guest_nmi_callback(void);=0A = =0A+void watchdog_disable(void);=0A+void watchdog_enable(void);=0A+void = watchdog_setup(void);=0A+=0A #endif /* ASM_NMI_H */=0A --=__PartAC9CED90.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartAC9CED90.0__=--