2005-04-16 18:20:36 -04:00
|
|
|
#ifndef __MMU_H
|
|
|
|
#define __MMU_H
|
|
|
|
|
|
|
|
/*
|
2005-07-26 01:23:00 -04: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 18:20:36 -04:00
|
|
|
*/
|
|
|
|
typedef volatile unsigned long mm_context_t;
|
|
|
|
|
2005-07-26 01:23:00 -04:00
|
|
|
typedef unsigned long nv_mm_context_t;
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
#endif
|