diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 58e5c152a6bb..e080d1d744cc 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -635,7 +635,7 @@ int keventd_up(void) | |||
635 | int current_is_keventd(void) | 635 | int current_is_keventd(void) |
636 | { | 636 | { |
637 | struct cpu_workqueue_struct *cwq; | 637 | struct cpu_workqueue_struct *cwq; |
638 | int cpu = smp_processor_id(); /* preempt-safe: keventd is per-cpu */ | 638 | int cpu = raw_smp_processor_id(); /* preempt-safe: keventd is per-cpu */ |
639 | int ret = 0; | 639 | int ret = 0; |
640 | 640 | ||
641 | BUG_ON(!keventd_wq); | 641 | BUG_ON(!keventd_wq); |