[-mm patch] include/asm-i386/acpi.h should #include <asm/processor.h>

From: Adrian Bunk
Date: Wed Jun 28 2006 - 12:53:06 EST


On Sat, Jun 24, 2006 at 06:19:14AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-mm1:
>...
> +cpu_relax-use-in-acpi-lock.patch
>...
> ACPI stuff
>...

This patch fixes the following issue:

<-- snip -->

...
CC arch/i386/mach-visws/mpparse.o
In file included from include/asm/fixmap.h:26,
from include/asm/smp.h:15,
from arch/i386/mach-visws/mpparse.c:6:
include/asm/acpi.h: In function â__acpi_acquire_global_lockâ:
include/asm/acpi.h:70: warning: implicit declaration of function âcpu_relaxâ
...

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.17-mm2/include/asm-i386/acpi.h.old 2006-06-26 23:00:40.000000000 +0200
+++ linux-2.6.17-mm2/include/asm-i386/acpi.h 2006-06-26 23:01:04.000000000 +0200
@@ -31,6 +31,7 @@
#include <acpi/pdc_intel.h>

#include <asm/system.h> /* defines cmpxchg */
+#include <asm/processor.h>

#define COMPILER_DEPENDENT_INT64 long long
#define COMPILER_DEPENDENT_UINT64 unsigned long long
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/