• I
    rtc: fix deadlock · 38c052f8
    Ingo Molnar 提交于
    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: NMikael Pettersson <mikpe@it.uu.se>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    38c052f8
rtc.h 5.1 KB