]> git.baikalelectronics.ru Git - kernel.git/commit
x86, amd: Cleanup init_amd
authorBorislav Petkov <bp@suse.de>
Tue, 24 Jun 2014 11:25:04 +0000 (13:25 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jul 2014 19:21:40 +0000 (12:21 -0700)
commit1ee5e52d3923cf3c03984f625c2e003ee3433f5d
tree5a51e1be2db950be44ffb3fb05f2df00811bda0f
parent45de18763356ca0eb71b9606b7d20ab9e78d0b23
x86, amd: Cleanup init_amd

Distribute family-specific code to corresponding functions.

Also,

* move the direct mapping splitting around the TSEG SMM area to
bsp_init_amd().

* kill ancient comment about what we should do for K5.

* merge amd_k7_smp_check() into its only caller init_amd_k7 and drop
cpu_has_mp macro.

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