diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-11-03 06:16:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-03 06:16:28 +0100 |
commit | 462265bf494c4f2a2f6e06480590becadecbfea7 (patch) | |
tree | ab2a6a5232c2ed90bd93a350811ed7e4019ff8d8 /drivers/serial/Makefile | |
parent | sparc: Remove BKL from apc (diff) | |
download | linux-462265bf494c4f2a2f6e06480590becadecbfea7.tar.xz linux-462265bf494c4f2a2f6e06480590becadecbfea7.zip |
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>
Diffstat (limited to 'drivers/serial/Makefile')
0 files changed, 0 insertions, 0 deletions