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