Thomas Gleixner 462265bf49 watchdog: Remove BKL from rio watchdog driver
cycle_kernel_lock() was added with the BKL pushdown. The rio driver
indeed needs that because riowd_device is initialized after
misc_register(). So an open(), write/ioctl() which happens to get
between misc_register returning and riowd_device initialization would
dereference a NULL pointer.

Move riowd_device initialization before misc_register() and get rid of
cycle_kernel_lock().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-02 21:16:28 -08:00
..
2009-10-15 00:47:13 -04:00
2009-10-29 07:39:30 -07:00
2009-09-24 07:21:05 -07:00
2009-10-20 10:13:49 +03:00
2009-10-15 09:58:27 -06:00
2009-10-15 00:47:13 -04:00
2009-10-31 12:11:38 -07:00
2009-09-23 11:35:41 -04:00
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00