Rev 422 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
847 | giacomo | 1 | #ifndef _I386_CURRENT_H |
2 | #define _I386_CURRENT_H |
||
3 | |||
4 | #include <linux/thread_info.h> |
||
5 | |||
6 | struct task_struct; |
||
7 | extern struct task_struct * get_current26(void); |
||
8 | |||
9 | static inline struct task_struct * get_current(void) |
||
10 | { |
||
11 | // printk(KERN_DEBUG "File: %s @get_current\n", __FILE__); |
||
12 | return get_current26(); |
||
13 | } |
||
14 | |||
15 | #define current get_current() |
||
16 | |||
17 | #endif /* !(_I386_CURRENT_H) */ |