From: Keir Fraser <keir@xen.org>
To: Jan Beulich <JBeulich@suse.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] x86: move watchdog declarations from config.h to nmi.h
Date: Thu, 14 Feb 2013 20:53:05 +0000 [thread overview]
Message-ID: <CD42FF31.5AFE2%keir@xen.org> (raw)
In-Reply-To: <511D269002000078000BE73A@nat28.tlf.novell.com>
On 14/02/2013 17:01, "Jan Beulich" <JBeulich@suse.com> wrote:
> They don't belong into the former.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
> --- a/xen/arch/x86/nmi.c
> +++ b/xen/arch/x86/nmi.c
> @@ -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>
> --- a/xen/arch/x86/shutdown.c
> +++ b/xen/arch/x86/shutdown.c
> @@ -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>
> --- a/xen/common/gdbstub.c
> +++ b/xen/common/gdbstub.c
> @@ -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>
> --- a/xen/common/kexec.c
> +++ b/xen/common/kexec.c
> @@ -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>
> --- a/xen/common/keyhandler.c
> +++ b/xen/common/keyhandler.c
> @@ -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>
> --- a/xen/common/shutdown.c
> +++ b/xen/common/shutdown.c
> @@ -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
> --- a/xen/drivers/char/console.c
> +++ b/xen/drivers/char/console.c
> @@ -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>
> --- a/xen/include/asm-x86/config.h
> +++ b/xen/include/asm-x86/config.h
> @@ -317,10 +317,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__ */
> --- 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);
>
> +void watchdog_disable(void);
> +void watchdog_enable(void);
> +void watchdog_setup(void);
> +
> #endif /* ASM_NMI_H */
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
prev parent reply other threads:[~2013-02-14 20:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-14 17:01 [PATCH] x86: move watchdog declarations from config.h to nmi.h Jan Beulich
2013-02-14 20:53 ` Keir Fraser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CD42FF31.5AFE2%keir@xen.org \
--to=keir@xen.org \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.