mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 03:51:48 +00:00
sparc-apc: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
f8f2c79d59
commit
ee30d64e42
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user