diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:16:23 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-02 15:06:23 -0600 |
commit | db41bc9c4dfeed656dfd63d26883f81abc4005df (patch) | |
tree | 67ee7027b39b63a7f93bd7d090a513c6fa7d9ff6 /drivers/char/mwave | |
parent | e3e8e59dcd63621e3ade03083c17b6363a8e2dc8 (diff) | |
download | kernel_samsung_smdk4412-db41bc9c4dfeed656dfd63d26883f81abc4005df.zip kernel_samsung_smdk4412-db41bc9c4dfeed656dfd63d26883f81abc4005df.tar.gz kernel_samsung_smdk4412-db41bc9c4dfeed656dfd63d26883f81abc4005df.tar.bz2 |
mwave-mwavedd: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/char/mwave')
-rw-r--r-- | drivers/char/mwave/mwavedd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/mwave/mwavedd.c b/drivers/char/mwave/mwavedd.c index 8d14823..50243fc 100644 --- a/drivers/char/mwave/mwavedd.c +++ b/drivers/char/mwave/mwavedd.c @@ -56,6 +56,7 @@ #include <linux/serial.h> #include <linux/sched.h> #include <linux/spinlock.h> +#include <linux/smp_lock.h> #include <linux/delay.h> #include <linux/serial_8250.h> #include "smapi.h" @@ -100,6 +101,7 @@ static int mwave_open(struct inode *inode, struct file *file) PRINTK_2(TRACE_MWAVE, "mwavedd::mwave_open, exit return retval %x\n", retval); + cycle_kernel_lock(); return retval; } |