ACPI: Make acpi_skip_timer_override cover all source_irq==0 cases
authorFeng Tang <feng.tang@intel.com>
Mon, 4 Jun 2012 07:00:04 +0000 (15:00 +0800)
committerLen Brown <len.brown@intel.com>
Mon, 11 Jun 2012 21:29:30 +0000 (17:29 -0400)
commitae10ccdc3093486f8c2369d227583f9d79f628e5
tree85495e00231729c3cd4b454a8ccbfe00b0de8428
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
ACPI: Make acpi_skip_timer_override cover all source_irq==0 cases

Currently when acpi_skip_timer_override is set, it only cover the
(source_irq == 0 && global_irq == 2) cases. While there is also
platform which need use this option and its global_irq is not 2.
This patch will extend acpi_skip_timer_override to cover all
timer overriding cases as long as the source irq is 0.

This is the first part of a fix to kernel bug bugzilla 40002:
"IRQ 0 assigned to VGA"
https://bugzilla.kernel.org/show_bug.cgi?id=40002

Reported-and-tested-by: Szymon Kowalczyk <fazerxlo@o2.pl>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/acpi/boot.c