diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 58e5c152a6bb9c2283937a84ec431eac73fc5b87..e080d1d744cce242b587664445888fa23eeb0b9a 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -635,7 +635,7 @@ int keventd_up(void) int current_is_keventd(void) { struct cpu_workqueue_struct *cwq; - int cpu = smp_processor_id(); /* preempt-safe: keventd is per-cpu */ + int cpu = raw_smp_processor_id(); /* preempt-safe: keventd is per-cpu */ int ret = 0; BUG_ON(!keventd_wq);