diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-11-09 23:05:37 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-11-09 23:05:37 +0300 |
commit | feee207e44d3643d19e648af3c88946bd1c5106b (patch) | |
tree | cbb0da66cc2cd39e44fe8053fea95e71de78591e /drivers/sbus/char/display7seg.c | |
parent | 84c1a13a30f21406f39e546684a78ebe9859e6d7 (diff) | |
download | linux-feee207e44d3643d19e648af3c88946bd1c5106b.tar.xz |
[SPARC]: Fix locking thinkos in display7seg and cpwatchdog drivers.
Noticed by Eric Brower.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/display7seg.c')
-rw-r--r-- | drivers/sbus/char/display7seg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 39f54213a6d5..2c86a4b809cd 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c @@ -161,7 +161,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg) writeb(regs, d7s_regs); break; }; - lock_kernel(); + unlock_kernel(); return error; } |