Skip to content

Commit

Permalink
x86: make mp_ioapic_routing definition local
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Alexey Starikovskiy authored and Thomas Gleixner committed May 25, 2008
1 parent 11113f8 commit 5f89514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 6 additions & 1 deletion arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,12 @@ static int __init acpi_parse_madt_lapic_entries(void)
extern int es7000_plat;
#endif

static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
static struct {
int apic_id;
int gsi_base;
int gsi_end;
DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1);
} mp_ioapic_routing[MAX_IO_APICS];

static int mp_find_ioapic(int gsi)
{
Expand Down
7 changes: 0 additions & 7 deletions include/asm-x86/io_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,6 @@ extern int nr_ioapic_registers[MAX_IO_APICS];

#define MP_MAX_IOAPIC_PIN 127

struct mp_ioapic_routing {
int apic_id;
int gsi_base;
int gsi_end;
DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1);
};

/* I/O APIC entries */
extern struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS];

Expand Down

0 comments on commit 5f89514

Please sign in to comment.