* Adrian Bunk <[email protected]> wrote: > On Tue, Dec 04, 2007 at 07:19:45PM -0500, Jeff Dike wrote: > > On Wed, Dec 05, 2007 at 12:15:19AM +0100, Adrian Bunk wrote: > > > UML can't switch to the regparm(3) convention on i386 since it links > > > with userspace code, so if assembler code uses this calling convention > > > we need the C prototype of it annotated accordingly. > > > > We're not talking about a global calling convention switch, right? > > We're talking about selected functions only, in which case, the fact > > that UML links against libc is irrelevant. > > The non-UML i386 switched to globally using the regparm(3) calling > convention in 2.6.20. maybe i'm a bit dense, but why cannot UML switch to -mregparm=3 too? Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Adrian Bunk <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- References:
- [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Harvey Harrison <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Harvey Harrison <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Adrian Bunk <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Harvey Harrison <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Adrian Bunk <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Jeff Dike <[email protected]>
- Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- From: Adrian Bunk <[email protected]>
- [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- Prev by Date: Re: [PATCH] as-iosched: fix incorrect comments
- Next by Date: Re: [patch 1/3] bdi patches
- Previous by thread: Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- Next by thread: Re: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h
- Index(es):