diff options
author | alc <alc@FreeBSD.org> | 2007-12-04 09:06:08 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2007-12-04 09:06:08 +0000 |
commit | 8cda75e035f9397ea064196b9b00f3fe061d044c (patch) | |
tree | 384dea437047e6d9164d1cff2f108b8bba3c24eb /sys/i386 | |
parent | 10142e95b9a10058f271029d9f7ed376f2de4e2f (diff) | |
download | FreeBSD-src-8cda75e035f9397ea064196b9b00f3fe061d044c.zip FreeBSD-src-8cda75e035f9397ea064196b9b00f3fe061d044c.tar.gz |
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
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 9f7d4a1..662f97f 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); |