From d1ce3dfa8df1462ae942a5eacbc0564579094253 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 4 Dec 2007 09:06:08 +0000 Subject: [PATCH] Correct an error under COUNT_IPIS within pmap_lazyfix_action(): Increment the counter that the pointer refers to, not the pointer. MFC after: 3 days --- sys/i386/i386/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 9f7d4a15e1e..662f97f3001 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -1443,7 +1443,7 @@ pmap_lazyfix_action(void) u_int mymask = PCPU_GET(cpumask); #ifdef COUNT_IPIS - *ipi_lazypmap_counts[PCPU_GET(cpuid)]++; + (*ipi_lazypmap_counts[PCPU_GET(cpuid)])++; #endif if (rcr3() == lazyptd) load_cr3(PCPU_GET(curpcb)->pcb_cr3);