public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: Reboot PATCH (ACPI related)
Date: Sat, 12 May 2007 23:44:13 -0700	[thread overview]
Message-ID: <20070512234413.54fc6afa.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070512201006.GA3569@ics.muni.cz>

On Sat, 12 May 2007 22:10:07 +0200 Lukas Hejtmanek <xhejtman@ics.muni.cz> wrote:

> why the attached patch is still not included in mainline kernel? It fixes boot
> problems after suspend to RAM.
> 
> -- 
> Lukáš Hejtmánek
> 
> 
> [reboot.patch  text/x-diff (564B)]
> --- arch/i386/kernel/reboot.c.old	2006-06-18 03:49:35.000000000 +0200
> +++ arch/i386/kernel/reboot.c	2006-07-01 17:29:23.000000000 +0200
> @@ -31,6 +31,12 @@
>  #ifdef CONFIG_SMP
>  static int reboot_cpu = -1;
>  #endif
> +#ifdef CONFIG_ACPI
> +extern u32 acpi_disable(void);
> +#else
> +static u32 acpi_disable(void){};
> +#endif
> +
>  static int __init reboot_setup(char *str)
>  {
>  	while(1) {
> @@ -322,6 +328,7 @@
>  
>  void machine_emergency_restart(void)
>  {
> +	acpi_disable();
>  	if (!reboot_thru_bios) {
>  		if (efi_enabled) {
>  			efi.reset_system(EFI_RESET_COLD, EFI_SUCCESS, 0, NULL);

We'd prefer to fix the problem, whatever it is, rather than just turning
APCI off.

Please ensure that a full bug report has been entered at bugzilla.kernel.org,
thanks.
-
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:[~2007-05-13  6:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070512201006.GA3569@ics.muni.cz>
2007-05-13  6:44 ` Andrew Morton [this message]
2007-05-14 11:57   ` Reboot PATCH (ACPI related) Lukas Hejtmanek

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=20070512234413.54fc6afa.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xhejtman@ics.muni.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox