diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-11 05:23:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-11 05:23:21 +0000 |
commit | b2aee47a3fe148061a7c2f0cb002dc7d8c88c48b (patch) | |
tree | d7766ea54d07a42ac5dcaf99f29a752bea0deaca /sys | |
parent | 07bbce8416dcd00feaa61e3f18131410693bd787 (diff) | |
download | FreeBSD-src-b2aee47a3fe148061a7c2f0cb002dc7d8c88c48b.zip FreeBSD-src-b2aee47a3fe148061a7c2f0cb002dc7d8c88c48b.tar.gz |
- Remove duplicate cp_time declaration.
- Use extended printf format string version of KTR trace points.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/mp_machdep.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c index 367b57e..122daba 100644 --- a/sys/alpha/alpha/mp_machdep.c +++ b/sys/alpha/alpha/mp_machdep.c @@ -430,8 +430,6 @@ smp_invltlb() ((int)(((u_quad_t)((pc) - (prof)->pr_off) * \ (u_quad_t)((prof)->pr_scale)) >> 16) & ~1) -extern long cp_time[CPUSTATES]; - static void addugd_intr_forwarded(struct proc *p, int id, int *astmap) { @@ -950,7 +948,7 @@ smp_ipi_selected(u_int32_t cpus, u_int64_t ipi) { struct globaldata *globaldata; - CTR2(KTR_SMP, "smp_ipi_selected", cpus, ipi); + CTR2(KTR_SMP, "smp_ipi_selected: cpus: %x ipi: %lx", cpus, ipi); alpha_mb(); while (cpus) { int cpuno = ffs(cpus) - 1; @@ -1022,7 +1020,7 @@ smp_handle_ipi(struct trapframe *frame) u_int64_t ipi; int cpuno = PCPU_GET(cpuno); - CTR1(KTR_SMP, "smp_handle_ipi(), ipis=%x", ipis); + CTR1(KTR_SMP, "smp_handle_ipi(), ipis=%lx", ipis); while (ipis) { /* * Find the lowest set bit. |