Hi,

  I was looking at the implemenation of current_thread_info and
couldn't figure it out. What exactly is being done here? and is the
thread information always stored in the stack (in linux os)?

        register unsigned long sp asm ("sp");
        return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to