Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2005 21:17:20 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 84399 for review
Message-ID:  <200509272117.j8RLHKA3038320@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=84399

Change 84399 by jhb@jhb_slimer on 2005/09/27 21:16:44

	Rename the lapic timer counters to cpuX rather than lapicY.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/local_apic.c#34 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/local_apic.c#34 (text+ko) ====

@@ -314,7 +314,7 @@
 
 	/* 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",


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509272117.j8RLHKA3038320>