lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] include/asm-i386/acpi.h should #include <asm/processor.h>
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@stusta.de>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-28 18:57    [W:0.197 / U:4.944 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site