tree: git://git.cmpxchg.org/linux-mmotm.git master head: c275b7e889a24652acb26672d35202fefb42e9fd commit: 303bf326f9c1f64d80f1943eaa5ac966f6096c7d [75/412] kernel/watchdog: move NMI function header declarations from watchdog.h to nmi.h config: tile-tilegx_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 303bf326f9c1f64d80f1943eaa5ac966f6096c7d # save the attached .config to linux build tree make.cross ARCH=tile All error/warnings (new ones prefixed by >>): >> kernel/watchdog.c:654:6: error: redefinition of 'watchdog_nmi_enable_all' include/linux/nmi.h:34:20: note: previous definition of 'watchdog_nmi_enable_all' was here >> kernel/watchdog.c:655:6: error: redefinition of 'watchdog_nmi_disable_all' include/linux/nmi.h:33:20: note: previous definition of 'watchdog_nmi_disable_all' was here vim +/watchdog_nmi_enable_all +654 kernel/watchdog.c ab992dc3 Peter Zijlstra 2015-05-18 648 unlock: ab992dc3 Peter Zijlstra 2015-05-18 649 mutex_unlock(&watchdog_proc_mutex); b3738d29 Stephane Eranian 2014-11-17 650 } 58687acb Don Zickus 2010-05-07 651 #else bcd951cf Thomas Gleixner 2012-07-16 652 static int watchdog_nmi_enable(unsigned int cpu) { return 0; } bcd951cf Thomas Gleixner 2012-07-16 653 static void watchdog_nmi_disable(unsigned int cpu) { return; } b3738d29 Stephane Eranian 2014-11-17 @654 void watchdog_nmi_enable_all(void) {} b3738d29 Stephane Eranian 2014-11-17 @655 void watchdog_nmi_disable_all(void) {} 23637d47 Frederic Weisbecker 2010-05-15 656 #endif /* CONFIG_HARDLOCKUP_DETECTOR */ 58687acb Don Zickus 2010-05-07 657 b8900bc0 Frederic Weisbecker 2013-06-06 658 static struct smp_hotplug_thread watchdog_threads = { :::::: The code at line 654 was first introduced by commit :::::: b3738d29323344da3017a91010530cf3a58590fc watchdog: Add watchdog enable/disable all functions :::::: TO: Stephane Eranian :::::: CC: Ingo Molnar --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation