projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80c002d
)
rcu: fix section mismatch
author
Randy Dunlap
<
[email protected]
>
Tue, 22 Jan 2008 11:31:39 +0000
(
03:31
-0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 22 Jan 2008 17:17:48 +0000
(09:17 -0800)
rcu_online_cpu() should be __cpuinit instead of __devinit.
WARNING: vmlinux.o(.text+0x4b6d5): Section mismatch: reference to .init.text: (between 'rcu_cpu_notify' and 'wakeme_after_rcu')
Signed-off-by: Randy Dunlap <
[email protected]
>
Cc: Sam Ravnborg <
[email protected]
>
Acked-by: Ingo Molnar <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/rcupdate.c
patch
|
blob
|
history
diff --git
a/kernel/rcupdate.c
b/kernel/rcupdate.c
index a66d4d1615f7ff978616c86a350d582cc11ff20f..f2c1a04e9b1848f911b238118c3536a9d60f6a32 100644
(file)
--- a/
kernel/rcupdate.c
+++ b/
kernel/rcupdate.c
@@
-549,7
+549,7
@@
static void rcu_init_percpu_data(int cpu, struct rcu_ctrlblk *rcp,
rdp->blimit = blimit;
}
-static void __
dev
init rcu_online_cpu(int cpu)
+static void __
cpu
init rcu_online_cpu(int cpu)
{
struct rcu_data *rdp = &per_cpu(rcu_data, cpu);
struct rcu_data *bh_rdp = &per_cpu(rcu_bh_data, cpu);