]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: don't walk tables if ACPI was disabled
authorVegard Nossum <vegard.nossum@gmail.com>
Fri, 20 Jun 2008 13:39:09 +0000 (15:39 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 26 Jun 2008 05:55:18 +0000 (01:55 -0400)
commit4389ed2ff61de2b1485b31bf342da913dd342f59
treede76430883cff7fe392afbe71aea5b4ad0786ba7
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0
ACPI: don't walk tables if ACPI was disabled

Ingo Molnar wrote:
> -tip auto-testing started triggering this spinlock corruption message
> yesterday:
>
> [    3.976213] calling  acpi_rtc_init+0x0/0xd3
> [    3.980213] ACPI Exception (utmutex-0263): AE_BAD_PARAMETER, Thread F7C50000 could not acquire Mutex [3] [20080321]
> [    3.992213] BUG: spinlock bad magic on CPU#0, swapper/1
> [    3.992213]  lock: c2508dc4, .magic: 00000000, .owner: swapper/1, .owner_cpu: 0

This is apparently because some parts of ACPI, including mutexes, are not
initialized when acpi=off is passed to the kernel.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/glue.c