Re: 2.6.4-rc2-mm1

Thomas Schlichter
2004-03-08T20:08:50Z

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

Hi,

the bk-acpi.patch leads to following warning:

In file included from include/asm/fixmap.h:18,
from arch/i386/kernel/time_hpet.c:17:
include/asm/acpi.h: In function `__acpi_acquire_global_lock':
include/asm/acpi.h:72: Warnung: implicit declaration of function `cmpxchg'

The attached patch fixes it by including <asm/system.h>.

Best regards
Thomas Schlichter

[-- Attachment #2: fix-acpi_cmpxchg.diff --]
[-- Type: text/x-diff, Size: 344 bytes --]

--- linux-2.6.4-rc2-mm1/include/asm-i386/acpi.h.orig 2004-03-08 14:18:31.000000000 +0100
+++ linux-2.6.4-rc2-mm1/include/asm-i386/acpi.h 2004-03-08 14:55:21.000000000 +0100
@@ -28,6 +28,8 @@

#ifdef __KERNEL__

+#include <asm/system.h>
+
#define COMPILER_DEPENDENT_INT64 long long
#define COMPILER_DEPENDENT_UINT64 unsigned long long