Jiri Kosina 8853c202b4 RTC: convert mutex to bitfield
RTC code is using mutex to assure exclusive access to /dev/rtc.  This is
however wrong usage, as it leaves the mutex locked when returning into
userspace, which is unacceptable.

Convert rtc->char_lock into bit operation.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-29 09:24:54 -08:00
..
2007-10-16 09:43:13 -07:00
2007-11-29 09:24:54 -08:00
2007-10-16 09:43:13 -07:00
2007-11-29 09:24:54 -08:00
2007-07-17 10:23:09 -07:00
2007-11-14 18:45:36 -08:00
2007-11-14 18:45:36 -08:00
2007-11-14 18:45:36 -08:00
2007-05-08 11:15:18 -07:00
2007-08-22 19:52:45 -07:00
2007-11-14 18:45:36 -08:00
2007-08-22 19:52:47 -07:00
2007-05-17 05:23:05 -07:00
2007-10-19 11:53:41 -07:00
2007-05-08 11:15:18 -07:00
2007-10-30 08:06:55 -07:00
2007-10-19 11:53:41 -07:00
2007-11-14 18:45:36 -08:00
2007-09-11 17:21:20 -07:00