diff options
| author | Ingo Molnar <[email protected]> | 2008-08-23 15:59:07 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-08-23 16:02:18 +0000 |
| commit | 38c052f8cff1bd323ccfa968136a9556652ee420 (patch) | |
| tree | 6cee3c0384438e13f065d196195a5d46a3941e4b /lib/debugobjects.c | |
| parent | nohz: fix wrong event handler after online an offlined cpu (diff) | |
| download | kernel-38c052f8cff1bd323ccfa968136a9556652ee420.tar.gz kernel-38c052f8cff1bd323ccfa968136a9556652ee420.zip | |
rtc: fix deadlock
if get_rtc_time() is _ever_ called with IRQs off, we deadlock badly
in it, waiting for jiffies to increment.
So make the code more robust by doing an explicit mdelay(20).
This solves a very hard to reproduce/debug hard lockup reported
by Mikael Pettersson.
Reported-by: Mikael Pettersson <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
