Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145644
b: refs/heads/master
c: f1bdb52
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed May 18, 2009
1 parent a62a98f commit e31a0a3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 629e15d245f46bef9d26199b450f882f9437a8fe
refs/heads/master: f1bdb523880c7f6990e9e8e50b0fc972ca475e84
9 changes: 9 additions & 0 deletions trunk/arch/x86/include/asm/mpspec.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ static inline int acpi_probe_gsi(void)
}
#endif /* CONFIG_ACPI */

#ifdef CONFIG_X86_MPPARSE
extern int enable_update_mptable;
#else
static inline int enable_update_mptable(void)
{
return 0;
}
#endif

#define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS)

struct physid_mask {
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,9 @@ int mp_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity)
ioapic_pin);
return gsi;
}
mp_config_acpi_gsi(dev, gsi, trigger, polarity);

if (enable_update_mptable)
mp_config_acpi_gsi(dev, gsi, trigger, polarity);

set_io_apic_irq_attr(&irq_attr, ioapic, ioapic_pin,
trigger == ACPI_EDGE_SENSITIVE ? 0 : 1,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/mpparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ static int __init replace_intsrc_all(struct mpc_table *mpc,
return 0;
}

static int __initdata enable_update_mptable;
int enable_update_mptable;

static int __init update_mptable_setup(char *str)
{
Expand Down

0 comments on commit e31a0a3

Please sign in to comment.