Re: Linux-2.6.5-1.358 SMP

From: Jan Dittmer
Date: Tue Oct 05 2004 - 18:12:08 EST


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 ;)

?

Jan
-
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/