[COMMON] lib: dss: fix processor ID when scheduling
authorDonghyeok Choe <d7271.choe@samsung.com>
Mon, 2 Jul 2018 03:32:19 +0000 (12:32 +0900)
committerjungi.lee <jungilsi.lee@samsung.com>
Tue, 17 Jul 2018 11:13:29 +0000 (20:13 +0900)
Change-Id: I65bef72f54930f0374a5a2a722e7adb85a3e54cb
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
kernel/sched/core.c

index bc0339a4a4dd569cd52bb77c1b90de2e54349848..130be7688cfb71360f0cc3d38fb7550b3e41e03c 100644 (file)
@@ -3434,7 +3434,7 @@ static void __sched notrace __schedule(bool preempt)
                rq_unlock_irq(rq, &rf);
        }
 
-       dbg_snapshot_task(cpu, rq->curr);
+       dbg_snapshot_task(smp_processor_id(), rq->curr);
        balance_callback(rq);
 }