]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf1494ed1d318542baa9480cfd44d040a92635129
tree4cd3fe5153df77dc9ea7c5f21305beda21b34dc2
parent7bfe8bdb80d5988483b01177b09b9c8d1605dffb
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