projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel/: fix BUG_ON checks for cpu notifier callbacks direct call
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
kernel
/
softirq.c
diff --git
a/kernel/softirq.c
b/kernel/softirq.c
index
825e112
..
07b4f1b
100644
(file)
--- a/
kernel/softirq.c
+++ b/
kernel/softirq.c
@@
-850,7
+850,7
@@
static __init int spawn_ksoftirqd(void)
void *cpu = (void *)(long)smp_processor_id();
int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
- BUG_ON(err
== NOTIFY_BAD
);
+ BUG_ON(err
!= NOTIFY_OK
);
cpu_callback(&cpu_nfb, CPU_ONLINE, cpu);
register_cpu_notifier(&cpu_nfb);
return 0;