diff options
author | Thomas Gleixner <[email protected]> | 2015-01-15 21:22:26 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-01-22 15:10:55 +0100 |
commit | 659006bf3ae37a08706907ce1a36ddf57c9131d2 (patch) | |
tree | 750a08e8d94d010d0c2ef275d54574551913b4ad /lib/mpi/mpiutil.c | |
parent | 44e25ff9e6912347a1a54c757fc75681d0dc42d0 (diff) |
x86/x2apic: Split enable and setup function
enable_x2apic() is a convoluted unreadable mess because it is used for
both enablement in early boot and for setup in cpu_init().
Split the code into x2apic_enable() for enablement and x2apic_setup()
for setup of (secondary cpus). Make use of the new state tracking to
simplify the logic.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions