blob: 611432ba579c0d91f64c402c2fc115f0ef1fe487 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __MMU_H
2#define __MMU_H
3
4/*
David Mosberger-Tangbadea122005-07-25 22:23:00 -07005 * 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()).
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 */
9typedef volatile unsigned long mm_context_t;
10
David Mosberger-Tangbadea122005-07-25 22:23:00 -070011typedef unsigned long nv_mm_context_t;
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif