All of lore.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <len.brown@intel.com>
To: akpm@osdl.org
Cc: linux-acpi@vger.kernel.org, pavel@ucw.cz, pavel@suse.cz
Subject: Re: [patch 03/14] acpi: fix boot with acpi=off
Date: Tue, 15 Aug 2006 23:23:06 -0400	[thread overview]
Message-ID: <200608152323.06572.len.brown@intel.com> (raw)
In-Reply-To: <200608150537.k7F5bM6t011533@shell0.pdx.osdl.net>

Applied.

(and I did the same to acpi_sbs_init)

thanks,
-Len

On Tuesday 15 August 2006 01:37, akpm@osdl.org wrote:
> From: Pavel Machek <pavel@ucw.cz>
> 
> With acpi=off and acpi_ac/battery compiled into kernel, acpi breaks
> boot. This fixes it.
> 
> Signed-off-by: Pavel Machek <pavel@suse.cz>
> Cc: "Brown, Len" <len.brown@intel.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
> 
>  drivers/acpi/ac.c      |    2 ++
>  drivers/acpi/battery.c |    3 +++
>  2 files changed, 5 insertions(+)
> 
> diff -puN drivers/acpi/ac.c~acpi-fix-boot-with-acpi=off drivers/acpi/ac.c
> --- a/drivers/acpi/ac.c~acpi-fix-boot-with-acpi=off
> +++ a/drivers/acpi/ac.c
> @@ -285,6 +285,8 @@ static int __init acpi_ac_init(void)
>  {
>  	int result;
>  
> +	if (acpi_disabled)
> +		return -ENODEV;
>  
>  	acpi_ac_dir = acpi_lock_ac_dir();
>  	if (!acpi_ac_dir)
> diff -puN drivers/acpi/battery.c~acpi-fix-boot-with-acpi=off drivers/acpi/battery.c
> --- a/drivers/acpi/battery.c~acpi-fix-boot-with-acpi=off
> +++ a/drivers/acpi/battery.c
> @@ -757,6 +757,9 @@ static int __init acpi_battery_init(void
>  {
>  	int result;
>  
> +	if (acpi_disabled)
> +		return -ENODEV;
> +
>  	acpi_battery_dir = acpi_lock_battery_dir();
>  	if (!acpi_battery_dir)
>  		return -ENODEV;
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

      reply	other threads:[~2006-08-16  3:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15  5:37 [patch 03/14] acpi: fix boot with acpi=off akpm
2006-08-16  3:23 ` Len Brown [this message]

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=200608152323.06572.len.brown@intel.com \
    --to=len.brown@intel.com \
    --cc=akpm@osdl.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=pavel@ucw.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.