r2340 - trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches
Simon Horman
horms@costa.debian.org
Fri, 21 Jan 2005 09:56:27 +0100
Author: horms
Date: 2005-01-21 09:56:26 +0100 (Fri, 21 Jan 2005)
New Revision: 2340
Added:
trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/127_apic_off.diff
Log:
adding missing file
Added: trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/127_apic_off.diff
===================================================================
--- trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/127_apic_off.diff 2005-01-21 08:55:09 UTC (rev 2339)
+++ trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/127_apic_off.diff 2005-01-21 08:56:26 UTC (rev 2340)
@@ -0,0 +1,61 @@
+# origin: len.brown (BitKeeper)
+# cset: 1.1458.1.9 (2.4) key=41afcab8Wwiw4tJmged5k36s38Ms8A
+# inclusion: upstream
+# descrition: [ACPI] acpi=off must disable acpi_early_init()
+# revision date: Fri, 14 Jan 2005 19:32:18 +0900
+#
+# S rset: ChangeSet|1.1458.1.8..1.1458.1.9
+# I rset: drivers/acpi/bus.c|1.31..1.32
+#
+# Key:
+# S: Skipped ChangeSet file only
+# O: Original Followed by Updated
+# U: Updated Included with updated range of versions
+# I: Included Included verbatim
+# E: Excluded Excluded on request from user
+# D: Deleted Manually deleted by subsequent user edit
+#
+#
+# This is a BitKeeper generated diff -Nru style patch.
+#
+# ChangeSet
+# 2004/12/02 21:08:56-05:00 len.brown@intel.com
+# [ACPI] acpi=off must disable acpi_early_init()
+#
+# Signed-off-by: Philippe Troin <phil@fifi.org>
+# Signed-off-by: Len Brown <len.brown@intel.com>
+#
+# drivers/acpi/bus.c
+# 2004/12/02 21:08:54-05:00 len.brown@intel.com +6 -3
+# acpi_early_init() should not run if acpi=off
+#
+#
+===== drivers/acpi/bus.c 1.31 vs 1.32 =====
+--- 1.31/drivers/acpi/bus.c 2004-08-25 11:54:26 +09:00
++++ 1.32/drivers/acpi/bus.c 2004-12-03 11:08:54 +09:00
+@@ -1850,7 +1850,10 @@
+ acpi_status status = AE_OK;
+ struct acpi_buffer buffer = {sizeof(acpi_fadt), &acpi_fadt};
+
+- ACPI_FUNCTION_TRACE("acpi_bus_init");
++ ACPI_FUNCTION_TRACE("acpi_early_init");
++
++ if (acpi_disabled)
++ return_VOID;
+
+ status = acpi_initialize_subsystem();
+ if (ACPI_FAILURE(status)) {
+@@ -1899,11 +1902,11 @@
+ goto error0;
+ }
+
+- return;
++ return_VOID;
+
+ error0:
+ disable_acpi();
+- return;
++ return_VOID;
+ }
+
+ static int __init