From: Ingo Molnar Date: Thu, 13 May 2010 07:12:39 +0000 (+0200) Subject: x86, watchdog: Fix build error in hw_nmi.c X-Git-Tag: upstream/snapshot3+hdmi~12756^2~142^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e85391b3badd3f0e50ebdd0cafe0202a979f73a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git x86, watchdog: Fix build error in hw_nmi.c On some configs the following build error triggers: arch/x86/kernel/apic/hw_nmi.c:35: error: 'apic' undeclared (first use in this function) arch/x86/kernel/apic/hw_nmi.c:35: error: (Each undeclared identifier is reported only once arch/x86/kernel/apic/hw_nmi.c:35: error: for each function it appears in.) Because asm/apic.h was only included implicitly. Include it explicitly. Cc: Frederic Weisbecker Cc: Don Zickus Cc: Peter Zijlstra Cc: Cyrill Gorcunov LKML-Reference: <1273713674-8434-1-git-send-regression-fweisbec@gmail.com> Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c index 3b40082..cefd694 100644 --- a/arch/x86/kernel/apic/hw_nmi.c +++ b/arch/x86/kernel/apic/hw_nmi.c @@ -8,6 +8,7 @@ * Bits copied from original nmi.c file * */ +#include #include #include