commit | 38c052f8cff1bd323ccfa968136a9556652ee420 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Sat Aug 23 17:59:07 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Aug 23 18:02:18 2008 +0200 |
tree | 6cee3c0384438e13f065d196195a5d46a3941e4b | |
parent | 3c4fbe5e01d7e5309be5045e7ae0db20a049e6dc [diff] |
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 <mikpe@it.uu.se> Signed-off-by: Ingo Molnar <mingo@elte.hu>