diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-01-16 00:22:44 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-01-22 17:10:56 +0300 |
commit | 374aab339f10f0510cec0e79d752d31d84b08aa2 (patch) | |
tree | fffeaf1be404f54562d07e7ecaaf215ce431c435 /arch/x86/include/asm | |
parent | 613c25efbdc763ee8b9d732368106d2456279356 (diff) | |
download | linux-374aab339f10f0510cec0e79d752d31d84b08aa2.tar.xz |
x86/apic: Reuse apic_bsp_setup() for UP APIC setup
Extend apic_bsp_setup() so the same code flow can be used for
APIC_init_uniprocessor().
Folded Jiangs fix to provide proper ordering of the UP setup.
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/20150115211704.084765674@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index 92f34042be85..92003f3c8a42 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h @@ -215,7 +215,7 @@ extern void setup_secondary_APIC_clock(void); extern int APIC_init_uniprocessor(void); extern int apic_force_enable(unsigned long addr); -extern int apic_bsp_setup(void); +extern int apic_bsp_setup(bool upmode); extern void apic_ap_setup(void); /* |