]> git.baikalelectronics.ru Git - kernel.git/commit
timekeeping: access rtc outside of xtime lock
authorThomas Gleixner <tglx@linutronix.de>
Sun, 16 Sep 2007 13:36:43 +0000 (15:36 +0200)
committerThomas Gleixner <tglx@chaos.(none)>
Sun, 16 Sep 2007 13:36:43 +0000 (15:36 +0200)
commitc495f0206e5722d4fe8aeb29a98e851d1b292f6d
treec29f9a90a244032515c4f830e1d73d4dd2a3f1ac
parenta400eaf905e5c03f73f489a3894cf2618c7e1ea1
timekeeping: access rtc outside of xtime lock

Lockdep complains about the access of rtc in timekeeping_suspend
inside the interrupt disabled region of the write locked xtime lock.
Move the access outside.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <johnstul@us.ibm.com>
kernel/time/timekeeping.c