mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.10 acpi warnings
@ 2001-09-25 13:15 Keith Owens
  2001-09-25 13:46 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Owens @ 2001-09-25 13:15 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.4.10 acpi warnings
  2001-09-25 13:15 2.4.10 acpi warnings Keith Owens
@ 2001-09-25 13:46 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2001-09-25 13:46 UTC (permalink / raw)
  To: Keith Owens; +Cc: Linux Kernel Mailing List, Linus Torvalds

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-25 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-25 13:15 2.4.10 acpi warnings Keith Owens
2001-09-25 13:46 ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®