lkml.org 
[lkml]   [2007]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectReboot PATCH (ACPI related)
Hello,

why the attached patch is still not included in mainline kernel? It fixes boot
problems after suspend to RAM.

--
Lukáš Hejtmánek
--- 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);
\
 
 \ /
  Last update: 2007-05-12 22:13    [W:0.049 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site