> 4 struct task_struct; > 5 > 6 static inline struct task_struct * get_current(void) > 7 { > 8 struct task_struct *current; > 9 __asm__("andl %%esp,%0; ":"=r" (current) : "0" (~8191UL)); > 10 return current; > 11} > 12 > 13 #define current get_current() > > Look beyond the macro. just as well say "look in the closet". maybe the boggy man is there??? ;) but seriously, look at the previous email: > > > current is globally defined as > > > a task_struct that point to current user. so, current is not __globally__ defined, and that is what i meant. current gets recalculated upon each call to the macro, hence it is not globally defined. (semantics, semantics... ) cheers. ======================================================================== nir. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/