From b70ffd23865e6c320fe2e8931f0d0366d7e03cac Mon Sep 17 00:00:00 2001 From: Nicola Vetrini Date: Thu, 10 Aug 2023 15:16:20 +0200 Subject: [PATCH] x86/nmi: include missing header with declarations for 'watchdog_*' Include an additional header to make the declarations for functions 'watchdog_*' visible prior to their definition in the file, thereby resolving the violations of MISRA C:2012 Rule 8.4. No functional change. Fixes: c8177e691f0f ("watchdog: Move watchdog from being x86 specific to common code") Signed-off-by: Nicola Vetrini Reviewed-by: Jan Beulich --- xen/arch/x86/nmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c index 104e366bd3..dc79c25e3f 100644 --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include