Version:
~ [ 0.6-2.3.46 ] ~
Architecture:
~ [ um ] ~
** Warning: Cannot open xref database.
1 #ifndef __UM_CURRENT_H
2 #define __UM_CURRENT_H
3
4 struct task_struct;
5
6 #ifdef __SMP__
7 extern struct task_struct *current_task[];
8
9 #define CURRENT_TASK(dummy) (((unsigned long) &dummy) & (PAGE_MASK << 1))
10
11 #define current ({ int dummy; (struct task_struct *) CURRENT_TASK(dummy); })
12
13 #else
14
15 extern struct task_struct *current_task;
16 #define current current_task
17
18 #endif
19
20 #endif
21
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.