public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Daniel Ritz" <daniel.ritz@gmx.ch>
To: linux-kernel@vger.kernel.org, Damien Wyart <damien.wyart@free.fr>,
	"Torsten Kaiser" <just.for.lkml@googlemail.com>
Cc: akpm@linux-foundation.org, astarikovskiy@suse.de
Subject: Re: ACPI power off regression in 2.6.23-rc8 (NOT in rc7)
Date: Tue, 25 Sep 2007 13:02:20 +0200	[thread overview]
Message-ID: <20070925110220.189530@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

does that one help?

[ as attachment since i'm on webmail ]

ACPI: acpi_sleep_prepare() should not depent on CONFIG_SUSPEND
Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

[-- Attachment #2: acpi-sleep.patch --]
[-- Type: application/octet-stream, Size: 508 bytes --]

diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c
index 85633c5..b9c6fcb 100644
--- a/drivers/acpi/sleep/main.c
+++ b/drivers/acpi/sleep/main.c
@@ -59,6 +59,7 @@ static int acpi_pm_set_target(suspend_state_t pm_state)
 	}
 	return error;
 }
+#endif /* CONFIG_SUSPEND */
 
 int acpi_sleep_prepare(u32 acpi_state)
 {
@@ -81,6 +82,7 @@ int acpi_sleep_prepare(u32 acpi_state)
 	return 0;
 }
 
+#ifdef CONFIG_SUSPEND
 /**
  *	acpi_pm_prepare - Do preliminary suspend work.
  *	@pm_state: ignored

             reply	other threads:[~2007-09-25 11:02 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 11:02 Daniel Ritz [this message]
2007-09-25 11:29 ` ACPI power off regression in 2.6.23-rc8 (NOT in rc7) Alexey Starikovskiy
2007-09-25 12:03 ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2007-09-25  6:51 Damien Wyart
2007-09-25  7:33 ` Andrew Morton
2007-09-25  8:36   ` Alexey Starikovskiy
2007-09-25  9:08     ` Torsten Kaiser
2007-09-25  9:27       ` Damien Wyart
2007-09-25  9:58         ` Damien Wyart
2007-09-25 11:45           ` Rafael J. Wysocki
2007-09-25 12:02             ` Damien Wyart
2007-09-25 15:05               ` Damien Wyart
2007-09-26  1:39                 ` Mike Houston
2007-09-25 12:05             ` Rafael J. Wysocki
2007-09-25 12:05               ` Alexey Starikovskiy
2007-09-25 12:39                 ` Rafael J. Wysocki
2007-09-25 12:53                   ` Alexey Starikovskiy
2007-09-25 13:25                     ` Rafael J. Wysocki
2007-09-25 13:15                       ` Alexey Starikovskiy
2007-09-25 14:18                         ` Rafael J. Wysocki
2007-09-25 14:19                           ` Alexey Starikovskiy
2007-09-25 14:52                             ` Rafael J. Wysocki
2007-09-25 14:45                               ` Alexey Starikovskiy
2007-09-25 15:54                                 ` Rafael J. Wysocki
2007-09-25 16:23                                 ` Andrew Morton
2007-09-25 16:25                                   ` Alexey Starikovskiy
2007-09-25 11:25       ` Alexey Starikovskiy
2007-09-25 16:30         ` Torsten Kaiser
2007-09-25 16:31           ` Alexey Starikovskiy
2007-09-25 16:34           ` Alexey Starikovskiy
2007-09-25 15:40   ` Linus Torvalds
2007-09-25 16:00     ` Rafael J. Wysocki
2007-09-26 14:59     ` Tim Post

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070925110220.189530@gmx.net \
    --to=daniel.ritz@gmx.ch \
    --cc=akpm@linux-foundation.org \
    --cc=astarikovskiy@suse.de \
    --cc=damien.wyart@free.fr \
    --cc=just.for.lkml@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox