2005-04-16 16:20:36 -06:00
|
|
|
#ifndef __MMU_H
|
|
|
|
#define __MMU_H
|
|
|
|
|
|
|
|
/*
|
2005-07-25 23:23:00 -06:00
|
|
|
* Type for a context number. We declare it volatile to ensure proper
|
|
|
|
* ordering when it's accessed outside of spinlock'd critical sections
|
|
|
|
* (e.g., as done in activate_mm() and init_new_context()).
|
2005-04-16 16:20:36 -06:00
|
|
|
*/
|
|
|
|
typedef volatile unsigned long mm_context_t;
|
|
|
|
|
2005-07-25 23:23:00 -06:00
|
|
|
typedef unsigned long nv_mm_context_t;
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif
|