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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux