From: Ingo Molnar Date: Sat, 23 Aug 2008 15:59:07 +0000 (+0200) Subject: rtc: fix deadlock X-Git-Tag: v2.6.27-rc5~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38c052f8cff1bd323ccfa968136a9556652ee420;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed