summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-01-15 21:22:26 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2015-01-22 14:10:55 (GMT)
commit659006bf3ae37a08706907ce1a36ddf57c9131d2 (patch)
tree750a08e8d94d010d0c2ef275d54574551913b4ad /mm
parent44e25ff9e6912347a1a54c757fc75681d0dc42d0 (diff)
downloadlinux-659006bf3ae37a08706907ce1a36ddf57c9131d2.tar.xz
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 <tglx@linutronix.de> Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Borislav Petkov <bp@alien8.de> Link: http://lkml.kernel.org/r/20150115211703.129287153@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions