mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
117ff42fd4
18 changed files with 99 additions and 86 deletions
|
|
@ -818,11 +818,11 @@ skip_unblock:
|
|||
static void qfq_update_start(struct qfq_sched *q, struct qfq_class *cl)
|
||||
{
|
||||
unsigned long mask;
|
||||
uint32_t limit, roundedF;
|
||||
u64 limit, roundedF;
|
||||
int slot_shift = cl->grp->slot_shift;
|
||||
|
||||
roundedF = qfq_round_down(cl->F, slot_shift);
|
||||
limit = qfq_round_down(q->V, slot_shift) + (1UL << slot_shift);
|
||||
limit = qfq_round_down(q->V, slot_shift) + (1ULL << slot_shift);
|
||||
|
||||
if (!qfq_gt(cl->F, q->V) || qfq_gt(roundedF, limit)) {
|
||||
/* timestamp was stale */
|
||||
|
|
|
|||
Loading…
Reference in a new issue