Re: Linux-2.6.5-1.358 SMP

From: Richard B. Johnson (root_at_chaos.analogic.com)
Date: 10/06/04

  • Next message: Jesse Barnes: "Re: [PATCH] I/O space write barrier"
    Date:	Tue, 5 Oct 2004 19:09:29 -0400 (EDT)
    To: Jan Dittmer <jdittmer@ppp0.net>
    
    

    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,
    *** 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jesse Barnes: "Re: [PATCH] I/O space write barrier"