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)
commit3be9095063885d482b87d3875ea7f28e635882d0
treec29f9a90a244032515c4f830e1d73d4dd2a3f1ac
parentd0174640eedc1cd756754f03afe2dbb3d56de74e
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