RE: x86/non-x86: percpu, node ids, apic ids x86.git fixup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Mike Travis" <travis@xxxxxxx>
- Subject: RE: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- From: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Date: Wed, 30 Jan 2008 11:33:29 -0800
- Cc: "Ingo Molnar" <mingo@xxxxxxx>, "Geert Uytterhoeven" <Geert.Uytterhoeven@xxxxxxxxxxx>, "Linus Torvalds" <torvalds@xxxxxxxxxxxxxxxxxxxx>, "Thomas Gleixner" <tglx@xxxxxxxxxxxxx>, "Linux Kernel Development" <linux-kernel@xxxxxxxxxxxxxxx>, "Linux/PPC Development" <linuxppc-dev@xxxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>, <sparclinux@xxxxxxxxxxxxxxx>
- In-reply-to: <47A0CD4B.5040706@xxxxxxx>
- List-id: <linux-ia64.vger.kernel.org>
- References: <200801301414.m0UEEgCC006371@xxxxxxxxxxxxxxx> <Pine.LNX.4.64.0801301622460.11859@xxxxxxxxxxxxxxxx> <47A09F8A.3000309@xxxxxxx> <20080130161036.GA12293@xxxxxxx> <1FE6DD409037234FAB833C420AA843EC757C72@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080130180623.GA24881@xxxxxxx> <1FE6DD409037234FAB833C420AA843EC757DEA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <47A0CD4B.5040706@xxxxxxx>
- Thread-index: AchjdOgXp8RJIaOrTS6pkB01Yo4gUQAALOjw
- Thread-topic: x86/non-x86: percpu, node ids, apic ids x86.git fixup
> I'm having trouble replicating this error. With the latest linux-2.6.git
> plus the patch I just sent, I get the following errors:
>
> drivers/input/mouse/psmouse-base.c:45: error: __param_proto causes a section type conflict
> drivers/md/md.c:5881: error: __param_start_ro causes a section type conflict
Weird. psmouse-base.c builds ok for me. Perhaps there is a compiler
version difference? I'm running a rather old 3.4.6 that came with
my RHEL 4.5 release.
> (plenty of warnings too, but no vmlinux)
New section mismatch checks are complaining about lots of stuff in this
post 2.6.24 world. There are a couple of dozen other warnings in a
"normal" build.
> I copied arch/ia64/configs/tiger_defconfig to .config, ran menuconfig to
> turn off SMP and built with this line
Yup ... my script is a little different. It uses
$ sed -e '/CONFIG_SMP/d' arch/ia64/configs/tiger_defconfig > .config
$ make oldconfig
But the net effect should be equivalent.
> #ifdef HAVE_MODEL_SMALL_ATTRIBUTE
> # define PER_CPU_ATTRIBUTES __attribute__((__model__ (__small__)))
> #endif
>
> This is only defined for !__ASSEMBLY__
Some place in there. The CONFIG_SMP=n path in ia64 makes quite radical
changes ... rather than putting all the per-cpu stuff into the top 64K
of address space and providing a per-cpu TLB mapping for that range to a
different physical address ... it just makes all the per-cpu stuff link
as ordinary variables in .data. The error messages indicate that some of
the new code is unaware of this.
-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- RE: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- RE: x86/non-x86: percpu, node ids, apic ids x86.git fixup
- Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]