Re: [2.4 patch][1/6] ibmphp_res.c: fix gcc 3.4 compilation

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 08/27/04

  • Next message: Patrick Gefre: "Re: Latest Altix I/O code reorganization code"
    Date:	Fri, 27 Aug 2004 16:54:16 +0200
    To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    
    

    On Fri, Aug 27, 2004 at 09:03:31AM -0300, Marcelo Tosatti wrote:
    > >
    > > The patch below fixes this issue by uninlining find_bus_wprev (as done
    > > in 2.6).
    >
    > Just out of curiosity, if you move the inlined function up to the beginning of the
    > file (before any calls to it), and remove the declaration (at 45), does it
    > stop complaining?

    Yes it does.

    For all these inline errors you can choose between uninlining and
    reordering the file.

    In this case I did choose unlinlining because find_bus_wprev is
    uninlined in 2.6 .

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    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: Patrick Gefre: "Re: Latest Altix I/O code reorganization code"

    Relevant Pages