Re: [uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's?

From: Jeff Dike
Date: Tue Aug 22 2006 - 13:42:31 EST

On Tue, Aug 22, 2006 at 06:07:41PM +0200, Adrian Bunk wrote:
> I didn't find a corresponding open bug in the gcc Bugzilla.
> Can someone verify whether it's still present, and if yes, open a gcc
> bug?

Yup, it's easy enough to check.

> It's set globally in arch/i386/Makefile:
> cflags-$(CONFIG_REGPARM) += -mregparm=3

IIRC, there used to be functions explicitly declared as __regparam or
something, and that's what I was grepping for. Does this turn every
function with three or fewer parameters into a regparam function?

> That's not pulled by UML, but if there are no outstanding problems with
> regparm, we could both enable it uncomditionally on i386 and enable it
> on UML/i386.

That shouldn't be a problem.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at