summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_thermal.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-19 06:16:47 +0000
committerpeter <peter@FreeBSD.org>2002-05-19 06:16:47 +0000
commit51f5a10d664b0c1071343604072be6bdf74f0c4b (patch)
tree6aaebdc5575387d09472ad06a2f793adb7364261 /sys/dev/acpica/acpi_thermal.c
parent6aa1f5995a41d59decabc943b093d0a1e5771d00 (diff)
downloadFreeBSD-src-51f5a10d664b0c1071343604072be6bdf74f0c4b.zip
FreeBSD-src-51f5a10d664b0c1071343604072be6bdf74f0c4b.tar.gz
Brutally deal with __func__ being 'const char *' on gcc-3.1.
Diffstat (limited to 'sys/dev/acpica/acpi_thermal.c')
-rw-r--r--sys/dev/acpica/acpi_thermal.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index 15acc1d..d567c0f 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -172,7 +172,7 @@ acpi_tz_attach(device_t dev)
int error;
char oidname[8];
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_LOCK;
@@ -288,7 +288,7 @@ acpi_tz_establish(struct acpi_tz_softc *sc)
int i;
char nbuf[8];
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -380,7 +380,7 @@ acpi_tz_monitor(struct acpi_tz_softc *sc)
struct timespec curtime;
ACPI_STATUS status;
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -499,7 +499,7 @@ acpi_tz_all_off(struct acpi_tz_softc *sc)
{
int i;
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -531,7 +531,7 @@ acpi_tz_switch_cooler_off(ACPI_OBJECT *obj, void *arg)
{
ACPI_HANDLE cooler;
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -571,7 +571,7 @@ acpi_tz_switch_cooler_on(ACPI_OBJECT *obj, void *arg)
ACPI_HANDLE cooler;
ACPI_STATUS status;
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -613,7 +613,7 @@ static void
acpi_tz_getparam(struct acpi_tz_softc *sc, char *node, int *data)
{
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -683,7 +683,7 @@ acpi_tz_notify_handler(ACPI_HANDLE h, UINT32 notify, void *context)
{
struct acpi_tz_softc *sc = (struct acpi_tz_softc *)context;
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_ASSERTLOCK;
@@ -781,7 +781,7 @@ acpi_tz_thread(void *arg)
device_t *devs;
int devcount, i;
- ACPI_FUNCTION_TRACE(__func__);
+ ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
devs = NULL;
OpenPOWER on IntegriCloud