Re: 2.4.10 acpi warnings

Dave Jones (davej@suse.de)
Tue, 25 Sep 2001 15:46:15 +0200 (CEST)


On Tue, 25 Sep 2001, Keith Owens wrote:

> 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.

diff -urN --exclude-from=/home/davej/.exclude linux-dj/drivers/acpi/include/platform/acgcc.h linux-test/drivers/acpi/include/platform/acgcc.h
--- linux-dj/drivers/acpi/include/platform/acgcc.h Mon Sep 24 00:36:42 2001
+++ linux-test/drivers/acpi/include/platform/acgcc.h Mon Sep 24 15:52:56 2001
@@ -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
*

-- 
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs

- 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/