kgdb: clocksource watchdog
In order to not trip the clocksource watchdog, kgdb must touch the clocksource watchdog on the return to normal system run state. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
d359752407
commit
7c3078b637
@@ -221,6 +221,18 @@ void clocksource_resume(void)
|
||||
spin_unlock_irqrestore(&clocksource_lock, flags);
|
||||
}
|
||||
|
||||
/**
|
||||
* clocksource_touch_watchdog - Update watchdog
|
||||
*
|
||||
* Update the watchdog after exception contexts such as kgdb so as not
|
||||
* to incorrectly trip the watchdog.
|
||||
*
|
||||
*/
|
||||
void clocksource_touch_watchdog(void)
|
||||
{
|
||||
clocksource_resume_watchdog();
|
||||
}
|
||||
|
||||
/**
|
||||
* clocksource_get_next - Returns the selected clocksource
|
||||
*
|
||||
|
Reference in New Issue
Block a user