Riccardo Gusso schrieb:
I also haven't understood if with the sources of 2.6.3 obtained from the
debian package (in sid) kernel-source-2.6.3 the patch
acpi-20040211-2.6.3.diff is necessary.

Any suggestion?

try this:


patch -p0 < osl.diff


-- Greetings Bjoern Schmidt

diff -urN linux-2.6.3.orig/drivers/acpi/osl.c linux-2.6.3/drivers/acpi/osl.c
--- linux-2.6.3.orig/drivers/acpi/osl.c 2004-02-18 04:59:12.000000000 +0100
+++ linux-2.6.3/drivers/acpi/osl.c      2004-03-07 17:11:37.000000000 +0100
@@ -42,7 +42,7 @@
 #include <asm/uaccess.h>
 
 #include <linux/efi.h>
-
+#include "dsdt.hex"
 
 #define _COMPONENT             ACPI_OS_SERVICES
 ACPI_MODULE_NAME       ("osl")
@@ -229,7 +229,11 @@
        if (!existing_table || !new_table)
                return AE_BAD_PARAMETER;
 
-       *new_table = NULL;
+       if (strncmp(existing_table->signature, AmlCode, 4))
+               *new_table = NULL;
+       else
+               *new_table = (struct acpi_table_header *)AmlCode; 
+
        return AE_OK;
 }
 

Reply via email to