Skip to contentSkip to conversation

2.4.10 acpi warnings

DISCUSSION Keith Owens 2 participants 2 messages Sep 25, 2001 ACPI

lore
Share & tools
lore
#0 lore raw

Almost every ACPI file gets warnings for wbinvd.

In file included from drivers/acpi/include/platform/aclinux.h:56,
from drivers/acpi/include/platform/acenv.h:109,
from drivers/acpi/include/acpi.h:35,
from drivers/acpi/ospm/thermal/tzpolicy.c:38:
drivers/acpi/include/platform/acgcc.h:104: warning: `wbinvd' redefined include/asm/system.h:128: warning: this is the location of the previous definition

#1 lore raw
Quoted 3 lines · Keith Owens

Almost every ACPI file gets warnings for wbinvd. drivers/acpi/include/platform/acgcc.h:104: warning: `wbinvd' redefined include/asm/system.h:128: warning: this is the location of the previous definition

I sent the ACPI guys a patch for this a while ago, and they said it would be merged. Guess it missed the 2.4.10 merge.
Here it is again.

regards,

Dave.

drivers/acpi/include/platform/acgcc.h +0 -1
diff -urN --exclude-from=/home/davej/.exclude linux-dj/drivers/acpi/include/platform/acgcc.h linux-test/drivers/acpi/include/platform/acgcc.h
@@ -101,7 +101,6 @@
 #define disable() __cli()
 #define enable()  __sti()
 #define halt()    __asm__ __volatile__ ("sti; hlt":::"memory")
-#define wbinvd()  __asm__ __volatile__ ("wbinvd":::"memory")
 
 /*! [Begin] no source code translation
  *
Signature · 2 lines
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs