http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48623
--- Comment #11 from Richard Weinberger <richard at nod dot at> 2011-04-15 22:27:19 UTC --- (In reply to comment #10) > You have to make use of 'p' of course. Your return value still is based > on &ti. Damn, you're right! Now gcc produces a functional UML kernel. :-) I fear current_thread_info() is not the only function in the kernel which returns a local stack address. Thanks, //richard