Rename the lapic timer interrupt counters from lapicX: timer to cpuX: timer

since it's not always obvious that lapic == cpu.

MFC after:	3 days
This commit is contained in:
John Baldwin 2005-09-28 18:01:41 +00:00
parent eb03e6374a
commit ea688ef40b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150696

View File

@ -314,7 +314,7 @@ lapic_setup(void)
/* Program timer LVT and setup handler. */
lapic->lvt_timer = lvt_mode(la, LVT_TIMER, lapic->lvt_timer);
snprintf(buf, sizeof(buf), "lapic%d: timer", lapic_id());
snprintf(buf, sizeof(buf), "cpu%d: timer", PCPU_GET(cpuid));
intrcnt_add(buf, &la->la_timer_count);
if (PCPU_GET(cpuid) != 0) {
KASSERT(lapic_timer_period != 0, ("lapic%u: zero divisor",