]> git.baikalelectronics.ru Git - kernel.git/commit
x86: cpuid, msr: use inode mutex instead of big kernel lock
authorH. Peter Anvin <hpa@zytor.com>
Mon, 4 Feb 2008 15:47:59 +0000 (16:47 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:47:59 +0000 (16:47 +0100)
commitacc206639238336c559af40a9b8253146717541d
tree3a9b1e802b46dfc494f50031e51d118724bf9fa6
parentca70a70914857d71e708f0c22d4504612bc7f620
x86: cpuid, msr: use inode mutex instead of big kernel lock

Instead of grabbing the BKL on seek, use the inode mutex in the style
of generic_file_llseek().

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpuid.c
arch/x86/kernel/msr.c