ANDROID: sched: add missing data type for cpu variable
While bringing in a change from older Kernel, commit 3adfd8e344
("ANDROID: sched: avoid placing RT threads on cores handling softirqs")
missed to add data type for cpu variable. Fix it by adding data type.
Bug: 168521633
Change-Id: I4cd3d0b68b5962004f295ce8d07546b2067bc728
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
@@ -49,7 +49,7 @@ static int convert_prio(int prio)
|
||||
static void
|
||||
drop_nopreempt_cpus(struct cpumask *lowest_mask)
|
||||
{
|
||||
unsigned cpu = cpumask_first(lowest_mask);
|
||||
unsigned int cpu = cpumask_first(lowest_mask);
|
||||
while (cpu < nr_cpu_ids) {
|
||||
/* unlocked access */
|
||||
struct task_struct *task = READ_ONCE(cpu_rq(cpu)->curr);
|
||||
|
||||
Reference in New Issue
Block a user