| Jeff Dike | a5a678c | 2008-02-04 22:30:54 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||||
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * Licensed under the GPL |
| 4 | */ | ||||
| 5 | |||||
| 6 | #ifndef __UM_CURRENT_H | ||||
| 7 | #define __UM_CURRENT_H | ||||
| 8 | |||||
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #include "linux/thread_info.h" |
| 10 | |||||
| 11 | #define current (current_thread_info()->task) | ||||
| 12 | |||||
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #endif |