summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Mosberger-Tang <davidm@hpl.hp.com>2005-04-12 11:04:00 -0700
committerTony Luck <tony.luck@intel.com>2005-05-09 10:16:17 -0700
commit66302f211a21bb9439a2ae7f7b6a4c386bb10ecd (patch)
treed97390da2698a9ac94e2f439c88127380bc1984b /arch
parent966dc11fcc48866a24d9b3fd16eeebb3f5e05931 (diff)
downloadblackbird-op-linux-66302f211a21bb9439a2ae7f7b6a4c386bb10ecd.tar.gz
blackbird-op-linux-66302f211a21bb9439a2ae7f7b6a4c386bb10ecd.zip
[IA64] fix "section mismatch" compile-time-error
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. Same patch also submitted by Darren Williams to fix compilation error using sim_defconfig (which has CONFIG_HOTPLUG=n). Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com> Signed-off-by: Darren Williams <dsw@gelato.unsw.edu.au> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
index 0d5ee57c9865..3865f088ffa2 100644
--- a/arch/ia64/kernel/smpboot.c
+++ b/arch/ia64/kernel/smpboot.c
@@ -624,7 +624,7 @@ static struct {
__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
OpenPOWER on IntegriCloud