ACPICA: fix CONFIG_ACPI_DEBUG_FUNC_TRACE build
authorLen Brown <len.brown@intel.com>
Fri, 23 Nov 2007 23:33:11 +0000 (18:33 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 7 Feb 2008 08:32:27 +0000 (03:32 -0500)
798d91039849486c7a4f1a458a5680cb55a65408
(ACPI: create CONFIG_ACPI_DEBUG_FUNC_TRACE)

failed to associate the new tracing config option with the tracing code.

Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/acmacros.h

index 45662f6dbdb66b34b8966670187ffd6655737aa6..99d171c87c84897123d7cdde56a8c7d83300c5f5 100644 (file)
 #define ACPI_FUNCTION_NAME(name)
 #endif
 
-#ifdef DEBUG_FUNC_TRACE
+#ifdef CONFIG_ACPI_DEBUG_FUNC_TRACE
 
 #define ACPI_FUNCTION_TRACE(a)          ACPI_FUNCTION_NAME(a) \
                          acpi_ut_trace(ACPI_DEBUG_PARAMETERS)
 
 #endif                         /* ACPI_SIMPLE_RETURN_MACROS */
 
-#else /* !DEBUG_FUNC_TRACE */
+#else /* !CONFIG_ACPI_DEBUG_FUNC_TRACE */
 
 #define ACPI_FUNCTION_TRACE(a)
 #define ACPI_FUNCTION_TRACE_PTR(a,b)
 #define return_UINT32(s)                return(s)
 #define return_PTR(s)                   return(s)
 
-#endif /* DEBUG_FUNC_TRACE */
+#endif /* CONFIG_ACPI_DEBUG_FUNC_TRACE */
 
 /* Conditional execution */