Re: linux/drivers/acpi/include/platform/acgcc.h:103: warning: `wbinvd'

Dave Jones (davej@suse.de)
Wed, 24 Oct 2001 15:00:36 +0200 (CEST)


On Wed, 24 Oct 2001, Frank van Maarseveen wrote:

> linux/include/asm/system.h:128: warning: this is the location of the previous definition
> I get tons of these in both 2.4.12 and 2.4.13. Config:

Fix below sent to Linus a few times. Its been in Alans tree for a while,
and has been picked up by the ACPI guys a while ago iirc,
So will probably eventually end up in -linus next time they merge
with mainline.

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.codemonkey.org.uk
| 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/