diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:16:48 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-02 15:06:25 -0600 |
commit | ee30d64e42ee1384a81d241b3962d3c1e6174992 (patch) | |
tree | 65d6a20f6c0c290a86d3ba25b9fbfa4d6be14244 /arch/sparc | |
parent | f8f2c79d594463427f7114cedb1555110d547d89 (diff) | |
download | linux-3.10-ee30d64e42ee1384a81d241b3962d3c1e6174992.tar.gz linux-3.10-ee30d64e42ee1384a81d241b3962d3c1e6174992.tar.bz2 linux-3.10-ee30d64e42ee1384a81d241b3962d3c1e6174992.zip |
sparc-apc: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/apc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c index d06a405ca71..6707422c984 100644 --- 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; } |