x86: sfi: Make local functions static
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Len Brown <lenb@kernel.org>
This commit is contained in:
parent
4d033556f1
commit
940b3c7b19
|
@ -34,7 +34,7 @@
|
||||||
#ifdef CONFIG_X86_LOCAL_APIC
|
#ifdef CONFIG_X86_LOCAL_APIC
|
||||||
static unsigned long sfi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE;
|
static unsigned long sfi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE;
|
||||||
|
|
||||||
void __init mp_sfi_register_lapic_address(unsigned long address)
|
static void __init mp_sfi_register_lapic_address(unsigned long address)
|
||||||
{
|
{
|
||||||
mp_lapic_addr = address;
|
mp_lapic_addr = address;
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ void __init mp_sfi_register_lapic_address(unsigned long address)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All CPUs enumerated by SFI must be present and enabled */
|
/* All CPUs enumerated by SFI must be present and enabled */
|
||||||
void __cpuinit mp_sfi_register_lapic(u8 id)
|
static void __cpuinit mp_sfi_register_lapic(u8 id)
|
||||||
{
|
{
|
||||||
if (MAX_APICS - id <= 0) {
|
if (MAX_APICS - id <= 0) {
|
||||||
pr_warning("Processor #%d invalid (max %d)\n",
|
pr_warning("Processor #%d invalid (max %d)\n",
|
||||||
|
|
Loading…
Reference in New Issue