mirror of https://gitee.com/openkylin/linux.git
[IA64] fix section mismatch in arch/ia64/kernel/palinfo.c
This patch removes following warning: WARNING: vmlinux.o(.exit.text+0xb1): Section mismatch in reference from the function palinfo_exit() to the variable .cpuinit.data:palinfo_cpu_notifier Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
751fc7849d
commit
9d4efae687
|
@ -1053,7 +1053,7 @@ static int __cpuinit palinfo_cpu_callback(struct notifier_block *nfb,
|
||||||
return NOTIFY_OK;
|
return NOTIFY_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct notifier_block palinfo_cpu_notifier __cpuinitdata =
|
static struct notifier_block __refdata palinfo_cpu_notifier =
|
||||||
{
|
{
|
||||||
.notifier_call = palinfo_cpu_callback,
|
.notifier_call = palinfo_cpu_callback,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
|
|
Loading…
Reference in New Issue