public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][20020918/2.4.20-pre7] ACPI_DEBUG / ACPI_DEBUG_OUTPUT
@ 2002-09-20 17:56 Dominik Brodowski
  0 siblings, 0 replies; only message in thread
From: Dominik Brodowski @ 2002-09-20 17:56 UTC (permalink / raw)
  To: andrew.grover-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

ACPI_DEBUG was not defined anywhere anymore, so /proc/acpi/dbg_level and
dbg_layer were missing (among a few other things). This patch replaces
ACPI_DEBUG with the new ACPI_DEBUG_OUTPUT.

	Dominik

[-- Attachment #2: acpi_debug.diff --]
[-- Type: text/plain, Size: 2040 bytes --]

--- linux/drivers/acpi/utils.c.original	Fri Sep 20 19:48:11 2002
+++ linux/drivers/acpi/utils.c	Fri Sep 20 19:49:38 2002
@@ -39,7 +39,7 @@
                             Object Evaluation Helpers
    -------------------------------------------------------------------------- */
 
-#ifdef ACPI_DEBUG
+#ifdef ACPI_DEBUG_OUTPUT
 #define acpi_util_eval_error(h,p,s) {\
 	char prefix[80] = {'\0'};\
 	acpi_buffer buffer = {sizeof(prefix), prefix};\
--- linux/drivers/acpi/system.c.original	Fri Sep 20 19:47:15 2002
+++ linux/drivers/acpi/system.c	Fri Sep 20 19:50:24 2002
@@ -366,7 +366,7 @@
 }
 
 
-#ifdef ACPI_DEBUG
+#ifdef ACPI_DEBUG_OUTPUT
 
 static int
 acpi_system_read_debug (
@@ -440,7 +440,7 @@
 	return_VALUE(count);
 }
 
-#endif /* ACPI_DEBUG */
+#endif /* ACPI_DEBUG_OUTPUT */
 
 
 #ifdef CONFIG_ACPI_SLEEP
@@ -892,7 +892,7 @@
 
 #endif /*CONFIG_ACPI_SLEEP*/
 
-#ifdef ACPI_DEBUG
+#ifdef ACPI_DEBUG_OUTPUT
 
 	/* 'debug_layer' [R/W] */
 	entry = create_proc_entry(ACPI_SYSTEM_FILE_DEBUG_LAYER,
@@ -920,7 +920,7 @@
 		entry->data = (void *) 1;
 	}
 
-#endif /*ACPI_DEBUG*/
+#endif /*ACPI_DEBUG_OUTPUT */
 
 	return_VALUE(0);
 }
@@ -942,7 +942,7 @@
 	remove_proc_entry(ACPI_SYSTEM_FILE_SLEEP, acpi_device_dir(device));
 	remove_proc_entry(ACPI_SYSTEM_FILE_ALARM, acpi_device_dir(device));
 #endif
-#ifdef ACPI_DEBUG
+#ifdef ACPI_DEBUG_OUTPUT
 	remove_proc_entry(ACPI_SYSTEM_FILE_DEBUG_LAYER,
 		acpi_device_dir(device));
 	remove_proc_entry(ACPI_SYSTEM_FILE_DEBUG_LEVEL,
--- linux/drivers/acpi/acpi_ksyms.c.original	Fri Sep 20 19:48:03 2002
+++ linux/drivers/acpi/acpi_ksyms.c	Fri Sep 20 19:50:44 2002
@@ -43,7 +43,7 @@
 
 /* ACPI Core Subsystem */
 
-#ifdef ACPI_DEBUG
+#ifdef ACPI_DEBUG_OUTPUT
 EXPORT_SYMBOL(acpi_dbg_layer);
 EXPORT_SYMBOL(acpi_dbg_level);
 EXPORT_SYMBOL(acpi_ut_debug_print_raw);
@@ -52,7 +52,7 @@
 EXPORT_SYMBOL(acpi_ut_value_exit);
 EXPORT_SYMBOL(acpi_ut_exit);
 EXPORT_SYMBOL(acpi_ut_trace);
-#endif /*ACPI_DEBUG*/
+#endif /*ACPI_DEBUG_OUTPUT*/
 
 EXPORT_SYMBOL(acpi_get_handle);
 EXPORT_SYMBOL(acpi_get_parent);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-20 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 17:56 [PATCH][20020918/2.4.20-pre7] ACPI_DEBUG / ACPI_DEBUG_OUTPUT Dominik Brodowski

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