From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:16 +0000 (+0200) Subject: microcode: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~47 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=77149367dade50af8370420265bd4f818cde8afd;p=linux-2.6-omap-h63xx.git microcode: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c index 69729e38b78..9f0a994eef9 100644 --- a/arch/x86/kernel/microcode.c +++ b/arch/x86/kernel/microcode.c @@ -75,6 +75,7 @@ #include #include #include +#include #include #include #include @@ -422,6 +423,7 @@ out: static int microcode_open (struct inode *unused1, struct file *unused2) { + cycle_kernel_lock(); return capable(CAP_SYS_RAWIO) ? 0 : -EPERM; }