projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel/: convert cpu notifier to return encapsulate errno value
[linux-2.6-block.git]
/
kernel
/
softirq.c
diff --git
a/kernel/softirq.c
b/kernel/softirq.c
index 0db913a5c60f4751067e668a80cb8d5c054957f0..825e1126008f374e5d9d2650a5bb29fe2106424d 100644
(file)
--- a/
kernel/softirq.c
+++ b/
kernel/softirq.c
@@
-808,7
+808,7
@@
static int __cpuinit cpu_callback(struct notifier_block *nfb,
p = kthread_create(run_ksoftirqd, hcpu, "ksoftirqd/%d", hotcpu);
if (IS_ERR(p)) {
printk("ksoftirqd for %i failed\n", hotcpu);
- return
NOTIFY_BAD
;
+ return
notifier_from_errno(PTR_ERR(p))
;
}
kthread_bind(p, hotcpu);
per_cpu(ksoftirqd, hotcpu) = p;