]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparc-apc: BKL pushdown
authorArnd Bergmann <arnd@arndb.de>
Tue, 20 May 2008 17:16:48 +0000 (19:16 +0200)
committerJonathan 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

index d06a405ca718eb6f0067c9d80ca16d606486d4a3..6707422c98479547dc8901cac04acf698d6ca503 100644 (file)
@@ -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;
 }