Re: [patch] fix HP simulator smp build replace __devinit -> __initdata

From: Keith Owens <>
Date: 2005-05-09 17:24:16
On Mon, 9 May 2005 16:57:11 +1000, 
Darren Williams <> wrote:
>Since we have updated the Autobuild system to use Cogito
>we can start to report and submit patches on the latest
>check-ins that break the build.
>Currently on the Gelato@UNSW Autobuild system:
>we are seeing the sim_defconfig build fail, with the
>following error:
>arch/ia64/kernel/smpboot.c:627: error: mt_info causes a section type conflict
>the following non-git patch fixes the problem, tested
>on simulator, and zx1. I'm not sure why the simulator
>is triggering this build failure since zx1 sn2 are
>building OK?

__devinit is a no-op when CONFIG_HOTPLUG=y.  zx1 and sn2 configs enable
HOTPLUG, sim_defconfig does not.

>--- linux-2.6-orig/arch/ia64/kernel/smpboot.c	2005-05-09 16:25:09.000000000 +1000
>+++ linux-2.6-import/arch/ia64/kernel/smpboot.c	2005-05-09 15:53:15.000000000 +1000
>@@ -624,7 +624,7 @@ static struct {
> 	__u16   thread_id;
> 	__u16   proc_fixed_addr;
> 	__u8    valid;
>-}mt_info[NR_CPUS] __devinit;
>+}mt_info[NR_CPUS] __initdata;

That should be __devinitdata, not __initdata.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Mon May 9 03:25:26 2005

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