summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-19 11:11:37 +0000
committerpeter <peter@FreeBSD.org>2002-03-19 11:11:37 +0000
commit7581c95972992632697b01dc410101df012eb66c (patch)
treea1f0cac4ebb74ae0993d7be1601536b478813b1c /sys/ia64
parentb6cc63860e6767db75afe74ff9b66dc7714b39e9 (diff)
downloadFreeBSD-src-7581c95972992632697b01dc410101df012eb66c.zip
FreeBSD-src-7581c95972992632697b01dc410101df012eb66c.tar.gz
__func__ is a const char *, not a "string" that can be concatenated.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/mp_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/ia64/mp_machdep.c b/sys/ia64/ia64/mp_machdep.c
index 1ddee36..1a07af7 100644
--- a/sys/ia64/ia64/mp_machdep.c
+++ b/sys/ia64/ia64/mp_machdep.c
@@ -106,7 +106,7 @@ ia64_ap_startup(void)
mtx_lock_spin(&sched_lock);
cpu_throw();
- panic(__func__ ": cpu_throw() returned");
+ panic("ia64_ap_startup: cpu_throw() returned");
}
int
@@ -140,13 +140,13 @@ cpu_mp_add(uint acpiid, uint apicid, uint apiceid)
}
KASSERT((all_cpus & (1UL << acpiid)) == 0,
- (__func__ ": cpu%d already in CPU map", acpiid));
+ ("%s: cpu%d already in CPU map", __func__, acpiid));
lid = LID_SAPIC_SET(apicid, apiceid);
if ((ia64_get_lid() & LID_SAPIC_MASK) == lid) {
KASSERT(acpiid == 0,
- (__func__ ": the BSP must be cpu0"));
+ ("%s: the BSP must be cpu0", __func__));
}
if (acpiid != 0) {
OpenPOWER on IntegriCloud