Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ac7057a authored by Runmin Wang's avatar Runmin Wang
Browse files

kernel: tick-sched: Fix compilation error on 32-bit



do_div() on 32-bit is changed into __div64_32(uint64_t *n, uint32_t
base), which requires its operand type to be specified.
Update the variable type to fix the compilation issue.

Change-Id: I82ad839c5a16096cfe000a65c9344b7d17214e29
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent fb8f000f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1165,7 +1165,7 @@ void tick_irq_enter(void)
static void update_rq_stats(void)
{
	unsigned long jiffy_gap = 0;
	unsigned int rq_avg = 0;
	unsigned long long rq_avg = 0;
	unsigned long flags = 0;

	jiffy_gap = jiffies - rq_info.rq_poll_last_jiffy;