x86, cpuid: Remove the bkl from cpuid_open()
commit170a0bc3808909d8ea0f3f9c725c6565efe7f9c4
authorJohn Kacur <jkacur@redhat.com>
Wed, 7 Oct 2009 18:19:32 +0000 (7 20:19 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 7 Oct 2009 22:41:21 +0000 (7 15:41 -0700)
tree9b685c6fdf3be7f4889790d607d8bc0c15c359a3
parentd6c304055b3cecd4ca865769ac7cea97a320727b
x86, cpuid: Remove the bkl from cpuid_open()

Most of the variables are local to the function. It IS possible that
for struct cpuinfo_x86 *c c could point to the same area. However,
this is used read only.

Signed-off-by: John Kacur <jkacur@redhat.com>
LKML-Reference: <alpine.LFD.2.00.0910072016190.15183@localhost.localdomain>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpuid.c