]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] fix section mismatch in arch/ia64/kernel/palinfo.c
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Wed, 30 Apr 2008 07:50:22 +0000 (16:50 +0900)
committerTony Luck <tony.luck@intel.com>
Wed, 30 Apr 2008 21:08:04 +0000 (14:08 -0700)
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>
arch/ia64/kernel/palinfo.c

index 396004e8cd1432af8fa1440ea0e2b93c385175bd..4547a2092af9d4717273883247b6e854749c819d 100644 (file)
@@ -1053,7 +1053,7 @@ static int __cpuinit palinfo_cpu_callback(struct notifier_block *nfb,
        return NOTIFY_OK;
 }
 
-static struct notifier_block palinfo_cpu_notifier __cpuinitdata =
+static struct notifier_block __refdata palinfo_cpu_notifier =
 {
        .notifier_call = palinfo_cpu_callback,
        .priority = 0,