]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
clocksource: fix lock order in the resume path
authorThomas Gleixner <tglx@linutronix.de>
Tue, 15 May 2007 08:41:32 +0000 (01:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 15 May 2007 15:54:00 +0000 (08:54 -0700)
commit8f89441b37536fea92b1ed7004e5e2dda011473d
tree7587c859ea62fb3905613fc4265a8120b5384516
parent3c46bdcaec53eda069a8a9cd60621c7431aa7842
clocksource: fix lock order in the resume path

lockdep complains about the lock nesting of clocksource and watchdog lock
in the resume path.

Change the resume marker to a bit operation and remove the lock from this
path.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/time/clocksource.c