lkml.org 
[lkml]   [2001]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: linux/drivers/acpi/include/platform/acgcc.h:103: warning: `wbinvd' redefined
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/

\
 
 \ /
  Last update: 2005-03-22 13:10    [W:0.039 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site