| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __MMU_H |
| 2 | #define __MMU_H | ||||
| 3 | |||||
| 4 | /* | ||||
| 5 | * Type for a context number. We declare it volatile to ensure proper ordering when it's | ||||
| 6 | * accessed outside of spinlock'd critical sections (e.g., as done in activate_mm() and | ||||
| 7 | * init_new_context()). | ||||
| 8 | */ | ||||
| 9 | typedef volatile unsigned long mm_context_t; | ||||
| 10 | |||||
| 11 | #endif | ||||