Skip to content

Commit

Permalink
x86: sfi: Make local functions static
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Len Brown <lenb@kernel.org>
  • Loading branch information
Thomas Gleixner committed Oct 15, 2010
1 parent 4d03355 commit 940b3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/sfi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#ifdef CONFIG_X86_LOCAL_APIC
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;

Expand All @@ -46,7 +46,7 @@ void __init mp_sfi_register_lapic_address(unsigned long address)
}

/* 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) {
pr_warning("Processor #%d invalid (max %d)\n",
Expand Down

0 comments on commit 940b3c7

Please sign in to comment.