]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: move timer broadcast before busmaster disable
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Dec 2007 18:16:17 +0000 (19:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Dec 2007 18:16:17 +0000 (19:16 +0100)
commit04e3411478e6c6baf3664b1e5fe78224f5685d4e
tree8e8f3fd329089270c3c6be06abca0ea650ce69b7
parent9acb5d07be1f24aaf6230518f45683c835154368
ACPI: move timer broadcast before busmaster disable

The timer broadcast code might access HPET, which should not be
accessed after the busmaster disable.

In acpi_idle_enter_simple() this change also prevents, that we modify
the busmaster state without going actually idle. This might leave the
ACPI bm state in a stale state, when we leave the function early in
the need_resched() check.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
drivers/acpi/processor_idle.c