diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-06-09 18:49:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-09 18:49:57 -0400 |
commit | f1494ed1d318542baa9480cfd44d040a92635129 (patch) | |
tree | 4cd3fe5153df77dc9ea7c5f21305beda21b34dc2 /net | |
parent | 7bfe8bdb80d5988483b01177b09b9c8d1605dffb (diff) |
iucv: fix section mismatch warning.
WARNING: net/iucv/built-in.o(.exit.text+0x9c): Section mismatch in
reference from the function iucv_exit() to the variable
.cpuinit.data:iucv_cpu_notifier
This warning is caused by a reference from unregister_hotcpu_notifier()
from an exit function to a cpuinitdata annotated data structurre.
This is a false positive warning since for the non CPU_HOTPLUG case
unregister_hotcpu_notifier() is a nop.
Use __refdata instead of __cpuinitdata to get rid of the warning.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/iucv/iucv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c index 918970762131..2d43175b0cdb 100644 --- a/net/iucv/iucv.c +++ b/net/iucv/iucv.c | |||
@@ -598,7 +598,7 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self, | |||
598 | return NOTIFY_OK; | 598 | return NOTIFY_OK; |
599 | } | 599 | } |
600 | 600 | ||
601 | static struct notifier_block __cpuinitdata iucv_cpu_notifier = { | 601 | static struct notifier_block __refdata iucv_cpu_notifier = { |
602 | .notifier_call = iucv_cpu_notify, | 602 | .notifier_call = iucv_cpu_notify, |
603 | }; | 603 | }; |
604 | 604 | ||