2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __MMU_H
|
|
|
|
#define __MMU_H
|
|
|
|
|
|
|
|
/*
|
2005-07-26 13:23:00 +08: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-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
typedef volatile unsigned long mm_context_t;
|
|
|
|
|
2005-07-26 13:23:00 +08:00
|
|
|
typedef unsigned long nv_mm_context_t;
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|