diff options
author | 2006-11-25 11:09:28 -0800 | |
---|---|---|
committer | 2006-11-25 13:28:33 -0800 | |
commit | d728b1e69fd5829ec2ab2434381e5a268d4f684a (patch) | |
tree | e11b3dea35247074628f04f5441e4a458bdbd86b /drivers/base/core.c | |
parent | [PATCH] rtc framework handles periodic irqs (diff) | |
download | linux-dev-d728b1e69fd5829ec2ab2434381e5a268d4f684a.tar.xz linux-dev-d728b1e69fd5829ec2ab2434381e5a268d4f684a.zip |
[PATCH] rtc class locking bugfixes
I got a lockdep warning when running "rtctest" so I though it'd be good
to see what was up.
- The warning was for rtc->irq_task_lock, gotten from rtc_update_irq()
by irq handlerss ... but in a handful of other cases, grabbed without
blocking IRQs.
- Some callers to rtc_update_irq() were not ensuring IRQs were blocked,
yet the routine expects that; make sure all callers block IRQs.
It would appear that RTC API tests haven't been part of anyone's kernel
regression test suite recently, at least not with lockdep running.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions