diff options
Diffstat (limited to 'arch/i386/kernel/acpi/earlyquirk.c')
-rw-r--r-- | arch/i386/kernel/acpi/earlyquirk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/i386/kernel/acpi/earlyquirk.c b/arch/i386/kernel/acpi/earlyquirk.c index a7d22d9f3d7e..8f7efd38254d 100644 --- a/arch/i386/kernel/acpi/earlyquirk.c +++ b/arch/i386/kernel/acpi/earlyquirk.c | |||
@@ -23,10 +23,13 @@ static int __init nvidia_hpet_check(struct acpi_table_header *header) | |||
23 | static int __init check_bridge(int vendor, int device) | 23 | static int __init check_bridge(int vendor, int device) |
24 | { | 24 | { |
25 | #ifdef CONFIG_ACPI | 25 | #ifdef CONFIG_ACPI |
26 | static int warned; | ||
26 | /* According to Nvidia all timer overrides are bogus unless HPET | 27 | /* According to Nvidia all timer overrides are bogus unless HPET |
27 | is enabled. */ | 28 | is enabled. */ |
28 | if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) { | 29 | if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) { |
29 | if (acpi_table_parse(ACPI_SIG_HPET, nvidia_hpet_check)) { | 30 | if (!warned && acpi_table_parse(ACPI_SIG_HPET, |
31 | nvidia_hpet_check)) { | ||
32 | warned = 1; | ||
30 | acpi_skip_timer_override = 1; | 33 | acpi_skip_timer_override = 1; |
31 | printk(KERN_INFO "Nvidia board " | 34 | printk(KERN_INFO "Nvidia board " |
32 | "detected. Ignoring ACPI " | 35 | "detected. Ignoring ACPI " |