]> git.baikalelectronics.ru Git - kernel.git/commit
x86, cpu, amd: Fix a shadowed variable situation
authorBorislav Petkov <bp@suse.de>
Wed, 15 Jan 2014 11:52:15 +0000 (12:52 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 15 Jan 2014 12:21:45 +0000 (04:21 -0800)
commit543e245f39129c85f20aedbf0ce5ef3eba63979b
treefb23c22a66850dcf546f557bb1f1d09263424cf6
parent6e9f94bcaedbe56ab1640132afaa5143f7bc504a
x86, cpu, amd: Fix a shadowed variable situation

Having u32 and struct cpuinfo_x86 * by the same name is not very smart,
although it was ok in this case due to the limited scope of u32 c and it
being used only once in there.

Fix this.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1389786735-16751-1-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/amd.c