Re: Linux-2.6.5-1.358 SMP

Nathan Bryant
2004-10-05T23:12:06Z

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.

In the 2.6.8 that's shipping in Fedora, it's a config option: CONFIG_REGPARM