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:
f8f2c79
)
sparc-apc: BKL pushdown
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 20 May 2008 17:16:48 +0000
(19:16 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 2 Jul 2008 21:06:25 +0000
(15:06 -0600)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sparc/kernel/apc.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/apc.c
b/arch/sparc/kernel/apc.c
index d06a405ca718eb6f0067c9d80ca16d606486d4a3..6707422c98479547dc8901cac04acf698d6ca503 100644
(file)
--- a/
arch/sparc/kernel/apc.c
+++ b/
arch/sparc/kernel/apc.c
@@
-10,6
+10,7
@@
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
+#include <linux/smp_lock.h>
#include <linux/pm.h>
#include <asm/io.h>
@@
-75,6
+76,7
@@
static inline void apc_free(void)
static int apc_open(struct inode *inode, struct file *f)
{
+ cycle_kernel_lock();
return 0;
}