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)
commit2b06ac867176d5d24757bda7e13f6255d6b96d7b
tree3a9b1e802b46dfc494f50031e51d118724bf9fa6
parent2347d933b158932cf2b8aeebae3e5cc16b200bd1
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