06/09/10 12:35:55 ladbRUaW
thread_info.h にはこう書いてありましたが、間違えてましたか?
もし間違えているなら代案を教えてください。
/* how to get the thread information struct from C */
static inline struct thread_info *current_thread_info(void)
{
struct thread_info *ti;
__asm__("andl %%esp,%0; ":"=r" (ti) : "0" (~(THREAD_SIZE - 1)));
return ti;
}