]> git.baikalelectronics.ru Git - kernel.git/commit
iucv: fix section mismatch warning.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 9 Jun 2008 22:49:57 +0000 (15:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jun 2008 22:49:57 +0000 (15:49 -0700)
commit8d7abc43a89fd296b603dbb8bff3fa6ce7d656ec
tree4cd3fe5153df77dc9ea7c5f21305beda21b34dc2
parent7d5d4ab0d3a17d2d6135c60f1d81aaa1be92afd1
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>
net/iucv/iucv.c