kernel: fix potential overflow in updatecpu (CID 155825)
This commit is contained in:
parent
d796c73e89
commit
55a8a84d8d
|
@ -49,7 +49,7 @@ enum
|
|||
|
||||
static int reprioritize(Proc*);
|
||||
static void updatecpu(Proc*);
|
||||
static int schedgain = 30; /* units in seconds */
|
||||
static int64_t schedgain = 30; /* units in seconds */
|
||||
|
||||
static void rebalance(void);
|
||||
static uint32_t balancetime;
|
||||
|
|
Loading…
Reference in New Issue