From: Ingo Molnar Subject: [PATCH] x86/platform/uv: Include clocksource.h for clocksource_touch_watchdog() Date: Fri, 11 Dec 2015 09:06:23 +0100 Message-ID: <20151211080623.GA14386@gmail.com> References: <4933029991103ae44672c82b97a20035f5c1fe4f.1449702533.git.luto@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: x86@kernel.org, Marcelo Tosatti , Radim Krcmar , Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Alexander Graf To: Andy Lutomirski Return-path: Content-Disposition: inline In-Reply-To: <4933029991103ae44672c82b97a20035f5c1fe4f.1449702533.git.luto@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org * Andy Lutomirski wrote: > diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fix= map.h > index f80d70009ff8..6d7d0e52ed5a 100644 > --- a/arch/x86/include/asm/fixmap.h > +++ b/arch/x86/include/asm/fixmap.h > @@ -19,7 +19,6 @@ > #include > #include > #include > -#include > #ifdef CONFIG_X86_32 > #include > #include So this change triggered a build failure on 64-bit allmodconfig - fixed= via the=20 patch below. Your change unearthed a latent bug, a missing header inclu= sion. Thanks, Ingo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> =46rom d51953b0873358d13b189996e6976dfa12a9b59d Mon Sep 17 00:00:00 200= 1 =46rom: Ingo Molnar Date: Fri, 11 Dec 2015 09:01:30 +0100 Subject: [PATCH] x86/platform/uv: Include clocksource.h for clocksource= _touch_watchdog() This build failure triggers on 64-bit allmodconfig: arch/x86/platform/uv/uv_nmi.c:493:2: error: implicit declaration of f= unction =E2=80=98clocksource_touch_watchdog=E2=80=99 [-Werror=3Dimplici= t-function-declaration] which is caused by recent changes exposing a missing clocksource.h incl= ude in uv_nmi.c: cc1e24fdb064 x86/vdso: Remove pvclock fixmap machinery this file got clocksource.h indirectly via fixmap.h - that stealth rout= e of header inclusion is now gone. Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Thomas Gleixner Signed-off-by: Ingo Molnar --- arch/x86/platform/uv/uv_nmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/platform/uv/uv_nmi.c b/arch/x86/platform/uv/uv_nm= i.c index 327f21c3bde1..8dd80050d705 100644 --- a/arch/x86/platform/uv/uv_nmi.c +++ b/arch/x86/platform/uv/uv_nmi.c @@ -28,6 +28,7 @@ #include #include #include +#include =20 #include #include