- acpi-asus-s3-resume-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     acpi: asus s3-resume fix
has been removed from the -mm tree.  Its filename was
     acpi-asus-s3-resume-fix.patch

This patch was dropped because it is obsolete

------------------------------------------------------
Subject: acpi: asus s3-resume fix
From: "Yu, Luming" <luming.yu@xxxxxxxxx>

See http://bugzilla.kernel.org/show_bug.cgi?id=6655

- extern decls never ever ever go in .c files.

- The !CONFIG_ACPI stub should be inline

- The !CONFIG_ACPI stub should be in a header file

- The !CONFIG_ACPI stub has an extra (and buggy) semicolon.

- The extra blank line in machine_emergency_restart() is unwelcome.

Cc: "Brown, Len" <len.brown@xxxxxxxxx>
DESC
acpi-asus-s3-resume-fix-fix
EDESC

arch/i386/kernel/reboot.c: In function 'acpi_disable':
arch/i386/kernel/reboot.c:37: warning: control reaches end of non-void function

Also,

- extern decls never ever ever go in .c files.

- The !CONFIG_ACPI stub should be inline

- The !CONFIG_ACPI stub should be in a header file

- The !CONFIG_ACPI stub has an extra (and buggy) semicolon.

- The extra blank line in machine_emergency_restart() is unwelcome.

Cc: "Brown, Len" <len.brown@xxxxxxxxx>
Cc: "Yu, Luming" <luming.yu@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/i386/kernel/reboot.c |   11 +++++++++++
 1 files changed, 11 insertions(+)

diff -puN arch/i386/kernel/reboot.c~acpi-asus-s3-resume-fix arch/i386/kernel/reboot.c
--- a/arch/i386/kernel/reboot.c~acpi-asus-s3-resume-fix
+++ a/arch/i386/kernel/reboot.c
@@ -30,6 +30,15 @@ static int reboot_thru_bios;
 #ifdef CONFIG_SMP
 static int reboot_cpu = -1;
 #endif
+#ifdef CONFIG_ACPI
+extern u32 acpi_disable(void);
+#else
+static u32 acpi_disable(void)
+{
+	return 0;
+};
+#endif
+
 static int __init reboot_setup(char *str)
 {
 	while(1) {
@@ -317,6 +326,8 @@ void machine_shutdown(void)
 
 void machine_emergency_restart(void)
 {
+
+	acpi_disable();
 	if (!reboot_thru_bios) {
 		if (efi_enabled) {
 			efi.reset_system(EFI_RESET_COLD, EFI_SUCCESS, 0, NULL);
_

Patches currently in -mm which might be from luming.yu@xxxxxxxxx are

acpi-clear-gpe-before-disabling-it.patch
acpi-asus-s3-resume-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux