[SPARC]: Fix locking thinkos in display7seg and cpwatchdog drivers.
Noticed by Eric Brower. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user