mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
x86/apic: Build the x86 topology enumeration functions on UP APIC builds too
These functions are mostly pointless on UP, but nevertheless the 64-bit UP APIC build already depends on the existence of topology_apply_cmdline_limits_early(), which caused a build bug, resolve it by making them available under CONFIG_X86_LOCAL_APIC, as their prototypes already are. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
3c2f8859ae
commit
6be4ec2968
@ -344,7 +344,7 @@ void topology_hotunplug_apic(unsigned int cpu)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
#ifdef CONFIG_X86_LOCAL_APIC
|
||||
static unsigned int max_possible_cpus __initdata = NR_CPUS;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user