Subject: Re: acpi DEBUGGER_THREADING
To: None <prlw1@newn.cam.ac.uk>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: current-users
Date: 03/07/2003 22:54:59
Hi,
       From: Patrick Welche <prlw1@newn.cam.ac.uk>
    Subject: acpi DEBUGGER_THREADING
      Date : Thu, 06 Mar 2003 20:54:43 +0000
 Message-ID: <20030306205443.A6455@quartz.newn.cam.ac.uk>

$ If you compile a kernel with options ACPI_DEBUG, you get
$ 
$ ../../../../dev/acpi/acpica/Subsystem/acenv.h:270: warning: `DEBUGGER_THREADING' redefined
$ ../../../../dev/acpi/acpica/Subsystem/acnetbsd.h:213: warning: this is the location of the previous definition
$ 

How about this?

Best Regards!
---
 Masanori Kanaoka	kanaoka@ann.hi-ho.ne.jp


Index: acenv.h
===================================================================
RCS file: /ftp/cvs/src/sys/dev/acpi/acpica/Subsystem/acenv.h,v
retrieving revision 1.7
diff -u -r1.7 acenv.h
--- acenv.h     4 Mar 2003 17:25:09 -0000       1.7
+++ acenv.h     3 Mar 2003 14:24:22 -0000
@@ -263,12 +263,14 @@
 #define DEBUGGER_SINGLE_THREADED    0
 #define DEBUGGER_MULTI_THREADED     1
 
+#ifndef DEBUGGER_THREADING
 #ifdef ACPI_APPLICATION
 #define DEBUGGER_THREADING          DEBUGGER_SINGLE_THREADED
 
 #else
 #define DEBUGGER_THREADING          DEBUGGER_MULTI_THREADED
 #endif
+#endif /* !DEBUGGER_THREADING */
 
 
 /******************************************************************************