Skip to content

Commit

Permalink
x86: move mp_ioapic_routing to mpparse and make it static
Browse files Browse the repository at this point in the history
mpparse is the only user of mp_ioapic_routing.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed May 25, 2008
1 parent ba5b14c commit 7f028bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,6 @@ acpi_parse_lapic_nmi(struct acpi_subtable_header * header, const unsigned long e

#ifdef CONFIG_X86_IO_APIC

struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];

static int __init
acpi_parse_ioapic(struct acpi_subtable_header * header, const unsigned long end)
{
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/kernel/mpparse.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Intel Multiprocessor Specification 1.1 and 1.4
2 * Intel Multiprocessor Specification 1.1 and 1.4
* compliant MP-table parsing routines.
*
* (c) 1995 Alan Cox, Building #3 <alan@redhat.com>
Expand Down Expand Up @@ -805,7 +805,7 @@ int es7000_plat;

#define MP_ISA_BUS 0

extern struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];

static int mp_find_ioapic(int gsi)
{
Expand Down

0 comments on commit 7f028bc

Please sign in to comment.