[IA64] fix "section mismatch" compile-time-error

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2005-04-13 04:03:43
I noticed this typo when trying to compile a kernel which had
CONFIG_HOTPLUG turned off.  In that case, __devinit is no longer a
no-op and the compiler then detects a section-conflict.  Fix by using
__devinitdata instead of __devinit.

Please apply into the *test* repository.

Thanks,

	--david

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>

===== arch/ia64/kernel/smpboot.c 1.69 vs edited =====
--- 1.69/arch/ia64/kernel/smpboot.c	2005-03-21 10:35:10 -08:00
+++ edited/arch/ia64/kernel/smpboot.c	2005-04-12 10:55:06 -07:00
@@ -624,7 +624,7 @@
 	__u16   thread_id;
 	__u16   proc_fixed_addr;
 	__u8    valid;
-}mt_info[NR_CPUS] __devinit;
+} mt_info[NR_CPUS] __devinitdata;
 
 #ifdef CONFIG_HOTPLUG_CPU
 static inline void
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Apr 12 14:09:20 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST