summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 12:37:17 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 12:37:17 +0000
commit9aa9eb41942b918f385ccabd2efdd6e7e4232165 (patch)
tree20bec7da036d31ec185dfc1dcc00753c7ac9b170 /arch/i386/kernel
parent87075e049581f880f01eb0b41aa6ac807b299e35 (diff)
Merge with Linux 2.4.0-test6-pre1.
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r--arch/i386/kernel/microcode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/microcode.c b/arch/i386/kernel/microcode.c
index 0519aee0c..c02385e79 100644
--- a/arch/i386/kernel/microcode.c
+++ b/arch/i386/kernel/microcode.c
@@ -145,11 +145,10 @@ static int microcode_open(struct inode *inode, struct file *file)
return 0;
}
+/* our specific f_op->release() method needs no locking */
static int microcode_release(struct inode *inode, struct file *file)
{
- lock_kernel();
clear_bit(MICROCODE_IS_OPEN, &microcode_status);
- unlock_kernel();
return 0;
}