Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef __MMU_H |
2 | #define __MMU_H | |
3 | ||
4 | /* | |
badea125 DMT |
5 | * Type for a context number. We declare it volatile to ensure proper |
6 | * ordering when it's accessed outside of spinlock'd critical sections | |
7 | * (e.g., as done in activate_mm() and init_new_context()). | |
1da177e4 LT |
8 | */ |
9 | typedef volatile unsigned long mm_context_t; | |
10 | ||
badea125 DMT |
11 | typedef unsigned long nv_mm_context_t; |
12 | ||
1da177e4 | 13 | #endif |