From c8177e691f0f611240853326712d43482ec949bf Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Tue, 13 Aug 2013 14:29:00 +0200 Subject: watchdog: Move watchdog from being x86 specific to common code Augment watchdog_setup() to be able to possibly return an error, and introduce watchdog_enabled() as a better alternative to knowing the architectures internal details. This patch does not change the x86 implementaion, beyond making it compile. For header files, some includes of xen/nmi.h were only for the watchdog functions, so are replaced rather than adding an extra include of xen/watchdog.h Signed-off-by: Andrew Cooper Acked-by: Keir Fraser --- xen/drivers/char/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen/drivers') diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index 8ac32e4f22..52ffa70ec2 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.2.3