> Thus the RFC: I don't like how the kernel_thread() looks like on
> i386. I suspect that we should pass 0 in %ecx as it is done (modulo
> different registers, indeed) on sparc and sparc64, but maybe I'm missing
> some magic in sys_clone()/do_fork()/etc. Comments?
As far as I can see, ecx is realy uninitialized. Maybe you should
prepend __asm__ ( "mov 12345678,%ecx" ) and look if it does some harm?
Pavel
-- The best software in life is free (not shareware)! Pavel GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/