MFC r258648: use saner calculations in should_yield
This commit is contained in:
parent
0882f177bb
commit
564d281d6a
@ -588,7 +588,7 @@ int
|
||||
should_yield(void)
|
||||
{
|
||||
|
||||
return ((unsigned int)(ticks - curthread->td_swvoltick) >= hogticks);
|
||||
return ((u_int)ticks - (u_int)curthread->td_swvoltick >= hogticks);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user