[-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 <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-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux