Re: Reg:current a pointer to task_struct

2001-06-18 Thread george anzinger
"SATHISH.J" wrote: > > Hi, > > Please help me with the following: > > I tried to go through get_current function which is in assembly. > > static inline struct task_struct * get_current(void) { > struct task_struct *current; > __asm__("andl %%esp,%0; ":"=r" (current) : "0" (~81

Reg:current a pointer to task_struct

2001-06-18 Thread SATHISH.J
Hi, Please help me with the following: I tried to go through get_current function which is in assembly. static inline struct task_struct * get_current(void) { struct task_struct *current; __asm__("andl %%esp,%0; ":"=r" (current) : "0" (~8191UL)); return current; } Ple