From: Ingo Molnar Date: Thu, 25 Feb 2016 07:27:27 +0000 (+0100) Subject: watchdog/hpwdt: Fix build on certain configs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1923f3d02768bd904dfe5607f3f93c3008b8db61;p=linux.git watchdog/hpwdt: Fix build on certain configs Fix the following build failure: drivers/watchdog/hpwdt.c:359:5: error: expected ‘)’ before ‘FRAME_BEGIN’ which occurs because hpwdt.c relied on indirect inclusion to get asm/frame.h definitions - but some (mostly randconfig) configs did not provide that. Include explicitly. Cc: Josh Poimboeuf Cc: Andrew Morton Cc: Andy Lutomirski Cc: Andy Lutomirski Cc: Arnaldo Carvalho de Melo Cc: Bernd Petrovitsch Cc: Borislav Petkov Cc: Brian Gerst Cc: Chris J Arges Cc: Denys Vlasenko Cc: Guenter Roeck Cc: H. Peter Anvin Cc: Jiri Slaby Cc: Linus Torvalds Cc: Michal Marek Cc: Namhyung Kim Cc: Pedro Alves Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Wim Van Sebroeck Cc: linux-watchdog@vger.kernel.org Cc: live-patching@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 90016db7942db..8fc284cdce4e2 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -37,6 +37,7 @@ #include #endif /* CONFIG_HPWDT_NMI_DECODING */ #include +#include #define HPWDT_VERSION "1.3.3" #define SECS_TO_TICKS(secs) ((secs) * 1000 / 128)