mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: borislav@users.sourceforge.net, hmh@hmh.eng.br,
	kernel list <linux-kernel@vger.kernel.org>
Subject: Re: refcounting problems with ibm_acpi but acpi=off
Date: Tue, 7 Aug 2007 13:20:09 +0200	[thread overview]
Message-ID: <20070807112009.GA2119@elf.ucw.cz> (raw)
In-Reply-To: <20070807104500.GA1684@elf.ucw.cz>

Hi!

> I get this nastyness in syslog if I compile ibm_acpi into kernel, then
> boot with acpi=off.

> Perhaps this is needed?

Indeed the patch fixes it. Signed-off-by: Pavel Machek <pavel@suse.cz>

> 
> diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c
> index a664f2b..654a124 100644
> --- a/drivers/acpi/ibm_acpi.c
> +++ b/drivers/acpi/ibm_acpi.c
> @@ -2695,6 +2695,9 @@ static void acpi_ibm_exit(void)
>  {
>  	int i;
>  
> +	if (acpi_disabled)
> +		return;
> +
>  	for (i = ARRAY_SIZE(ibms) - 1; i >= 0; i--)
>  		ibm_exit(&ibms[i]);
>  
> 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2007-08-07 12:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-07 10:45 Pavel Machek
2007-08-07 11:20 ` Pavel Machek [this message]
2007-08-07 14:26 ` Henrique de Moraes Holschuh
2007-08-07 21:40   ` Pavel Machek
2007-08-07 23:55     ` Henrique de Moraes Holschuh

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=20070807112009.GA2119@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=borislav@users.sourceforge.net \
    --cc=hmh@hmh.eng.br \
    --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

all inboxes | Powered by JetHome®