]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitd139336700a5f3a560da235e4dfcd286773025d4
treefb23c22a66850dcf546f557bb1f1d09263424cf6
parent106553aa4ead528b1bab37fb3cc47004a4451acc
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