summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2004-01-28 07:48:03 +0000
committerroam <roam@FreeBSD.org>2004-01-28 07:48:03 +0000
commit0004b4717fe5160dc86420ca1eca3b19178d4fd7 (patch)
treed16464a1ff9d74da6d89ab8594ad163c122bc018 /sys/dev
parentc079b3068c86d9c0051a4057de06efaf341ee510 (diff)
downloadFreeBSD-src-0004b4717fe5160dc86420ca1eca3b19178d4fd7.zip
FreeBSD-src-0004b4717fe5160dc86420ca1eca3b19178d4fd7.tar.gz
Add an ACPI_FUNCTION_TRACE() to the newly-added acpi_Startup() routine
to get the ACPI_DEBUG case (and LINT in particular) to build. Reviewed by: jhb, njl Approved by: jhb
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index d045ed9..856fad0 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -204,6 +204,8 @@ acpi_Startup(void)
#endif
static int error, started = 0;
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
+
if (started)
return_VALUE(error);
started = 1;
OpenPOWER on IntegriCloud