On Fri 2023-05-05 12:43:49, Nicholas Piggin wrote: > On Fri May 5, 2023 at 8:13 AM AEST, Douglas Anderson wrote: > > The real watchdog_update_hrtimer_threshold() is defined in > > watchdog_hardlockup_perf.c. That file is included if > > In kernel/watchdog_hld.c. With this fixed path: Reviewed-by: Petr Mladek <pmladek@xxxxxxxx> > > CONFIG_HARDLOCKUP_DETECTOR_PERF and the function is defined in that > > file if CONFIG_HARDLOCKUP_CHECK_TIMESTAMP. > > > > The dummy version of the function in "nmi.h" didn't get that quite > > right. While this doesn't appear to be a huge deal, it's nice to make > > it consistent. > > It doesn't break builds because CHECK_TIMESTAMP is only defined by > x86 so others don't get a double definition, and x86 uses perf lockup > detector, so it gets the out of line version. > > So has no functional change but should be fixed. > > Reviewed-by: Nicholas Piggin <npiggin@xxxxxxxxx> > > > > > Fixes: 7edaeb6841df ("kernel/watchdog: Prevent false positives with turbo modes") > > Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx> Best Regards, Petr