Re: Linux-2.6.5-1.358 SMP

From: Richard B. Johnson
Date: Tue Oct 05 2004 - 18:20:23 EST


On Wed, 6 Oct 2004, Jan Dittmer wrote:

> Richard B. Johnson wrote:
> > Hello,
> >
> > I almost have everything converted over from 2.4.26 to
> > 2.6.whatever.
> >
> > I need to make some modules that have lots of assembly code.
> > This assembly uses the UNIX calling convention and can't be
> > re-written (it would take many months). The new kernel
> > is compiled with "-mregparam=2". I can't find where that's
> > defined. I need to remove it because I cannot pass parameters
> > to the assembly stuff in registers.
> >
> > Where is it defined??? I grepped through all the scripts and
> > the hidden files, but I can't discover where it's defined.
>
> You don't mean CONFIG_REGPARM=n:
>
> arch/i386/Makefile:cflags-$(CONFIG_REGPARM) += $(shell if [
> $(GCC_VERSION) -ge 0300 ] ; then echo "-mregparm=3"; fi ;)
>
> ?

Okay. Thanks. I wouldn't have guessed what to look for.



Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/