]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kernel/cpu/amd.c
x86, amd: Move BSP code to cpu_dev helper
authorBorislav Petkov <bp@amd64.org>
Fri, 5 Aug 2011 18:04:09 +0000 (20:04 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 5 Aug 2011 19:32:33 +0000 (12:32 -0700)
commit8fa8b035085e7320c15875c1f6b03b290ca2dd66
tree67015568807e0caf987b054cc98c870a2b928f9f
parenta110b5ec7371592eac856ac5c22dc7b518952d44
x86, amd: Move BSP code to cpu_dev helper

Move code which is run once on the BSP during boot into the cpu_dev
helper.

[ hpa: removed bogus cpu_has -> static_cpu_has conversion ]

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/20110805180409.GC26217@aftab
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/cpu/amd.c