On Thu, Oct 05, 2006 at 11:32:38PM +0200, Andi Kleen wrote: > If you need any ifdefs in core code you're doing something > wrong. Any needed support should be integrated in a clean > non preprocessor way.
I'll assume you mean ifdefs or changes and agree, so long as you're willing to exclude any sort of early usage on some arches. x86_64 is wholly self-contained, except for (and perhaps these can go away now) annotations in the switch_to macro. And I do believe, but can't easily test anymore, that KGDB can be used (via serial) as soon as the normal early command line stuff is parsed. On i386 however, for things this early to work we need to have some of trap_init done after early_cpu_init(). But globally, we're down to a check inside of __might_sleep (and again, this quite possibly could go, someone would just need to remove that part and do a little usage testing). -- Tom Rini ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
