From: Thomas Gleixner Date: Thu, 15 Jan 2015 21:22:19 +0000 (+0000) Subject: x86/x2apic: Move code in conditional region X-Git-Tag: fixes-v4.0-rc1~177^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55eae7de727e9ecc814853ec364fbbb352c337df;p=pandora-kernel.git x86/x2apic: Move code in conditional region No point in having try_to_enable_x2apic() outside of the CONFIG_X86_X2APIC section and having inline functions and more ifdefs to deal with it. Move the code into the existing ifdef section and remove the inline cruft. Fixup the printk about not enabling interrupt remapping as suggested by Boris. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Joerg Roedel Cc: Tony Luck Cc: Borislav Petkov Link: http://lkml.kernel.org/r/20150115211702.795388613@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed