Adrian Bunk wrote: > On Tue, Mar 27, 2007 at 07:55:38PM -0700, Jeremy Fitzhardinge wrote: > >> Andi Kleen wrote: >> >>> init functions should only ever be called from other init functions. >>> >>> So this should not happen. If it happens the annotations need to be fixed. >>> >> I've seen some versions of gcc inline weak functions too. >> > > Please be more precise: > - gcc version > - example code > - bug number in the gcc Bugzilla >
Sorry, it was a while ago, and I didn't take the time to fully report it. It was FC6 on x86_64, doing a 32-bit cross-build. I'll see if I can repro it. > This would also help understanding what you are talking about: > - Did gcc inline a global function? > - Or was a static function declared as weak (which might be an error > by the programmer)? > - ... > It was, specifically, smp_setup_processor_id getting inlined into start_kernel. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/