Skip to content
Browse files

kernel - Fix i386 wire_count panics (2)

* Optimize wakeup case.
  • Loading branch information...
1 parent 3321ee0 commit 22c4e116ce7c0d29630e6a1d97d0bba46f84454b Matthew Dillon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 sys/platform/pc32/i386/pmap.c
View
2 sys/platform/pc32/i386/pmap.c
@@ -1649,7 +1649,7 @@ void
pmap_drop(pmap_t pmap)
{
--pmap->pm_count;
- if ((pmap->pm_count & 0x7FFFFFFF) == 0)
+ if (pmap->pm_count == (int)0x80000000)
wakeup(pmap);
}

0 comments on commit 22c4e11

Please sign in to comment.
Something went wrong with that request. Please try again.