diff options
author | Zhang Rui <[email protected]> | 2012-11-30 12:57:03 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2012-11-30 12:57:03 +0100 |
commit | 0ac1b1d7b7424cd6f129b5454b504b3cae746f0e (patch) | |
tree | 4c7fa40838086b221ebf51c6d55df814ce32fa31 /net/lapb/lapb_timer.c | |
parent | 261cba2deb7d3bebd180c35d5dbf8961f6e9afc4 (diff) |
ACPI: do acpisleep dmi check when CONFIG_ACPI_SLEEP is set
The current acpisleep DMI checks only run when CONFIG_SUSPEND is set.
And this may break hibernation on some platforms when CONFIG_SUSPEND
is cleared.
Move acpisleep DMI check into #ifdef CONFIG_ACPI_SLEEP instead.
[rjw: Added acpi_sleep_dmi_check() and rebased on top of earlier
patches adding entries to acpisleep_dmi_table[].]
References: https://bugzilla.kernel.org/show_bug.cgi?id=45921
Signed-off-by: Zhang Rui <[email protected]>
Cc: <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions