Skip to content

Commit

Permalink
ACPICA: fix CONFIG_ACPI_DEBUG_FUNC_TRACE build
Browse files Browse the repository at this point in the history
798d910
(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>
  • Loading branch information
Len Brown committed Feb 7, 2008
1 parent 488b5ec commit 4e83dd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/acpi/acmacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
#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)
Expand Down Expand Up @@ -565,7 +565,7 @@

#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)
Expand All @@ -584,7 +584,7 @@
#define return_UINT32(s) return(s)
#define return_PTR(s) return(s)

#endif /* DEBUG_FUNC_TRACE */
#endif /* CONFIG_ACPI_DEBUG_FUNC_TRACE */

/* Conditional execution */

Expand Down

0 comments on commit 4e83dd9

Please sign in to comment.