projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e8e59
)
mwave-mwavedd: BKL pushdown
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 20 May 2008 17:16:23 +0000
(19:16 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 2 Jul 2008 21:06:23 +0000
(15:06 -0600)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/char/mwave/mwavedd.c
patch
|
blob
|
history
diff --git
a/drivers/char/mwave/mwavedd.c
b/drivers/char/mwave/mwavedd.c
index 8d14823b0514ef3b58a4e775aa33cfa72009a4e8..50243fcd87e882656069cce5492b92b53469d4f7 100644
(file)
--- 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;
}