diff options
author | Josh Poimboeuf <[email protected]> | 2016-09-21 16:04:04 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-10-20 09:15:23 +0200 |
commit | a9468df5ad48d06e5237fc2b56fb04c52f79c8c4 (patch) | |
tree | 3ddc88fe4975680b0af45645cd13769e1bbf590f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b9b1a9c363ff7b17b2a35e20e28e86a449cfde1f (diff) |
x86/boot/64: Use a common function for starting CPUs
There are two different pieces of code for starting a CPU: start_cpu0()
and the end of secondary_startup_64(). They're identical except for the
stack setup. Combine the common parts into a shared start_cpu()
function.
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nilay Vaish <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/1d692ffa62fcb3cc835a5b254e953f2d9bab3549.1474480779.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions