diff options
author | roam <roam@FreeBSD.org> | 2004-01-28 07:48:03 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2004-01-28 07:48:03 +0000 |
commit | 0004b4717fe5160dc86420ca1eca3b19178d4fd7 (patch) | |
tree | d16464a1ff9d74da6d89ab8594ad163c122bc018 /sys/dev | |
parent | c079b3068c86d9c0051a4057de06efaf341ee510 (diff) | |
download | FreeBSD-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.c | 2 |
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; |