mmu.h 335 B

1234567891011121314
  1. #ifndef __MMU_H
  2. #define __MMU_H
  3. /*
  4. * Type for a context number. We declare it volatile to ensure proper
  5. * ordering when it's accessed outside of spinlock'd critical sections
  6. * (e.g., as done in activate_mm() and init_new_context()).
  7. */
  8. typedef volatile unsigned long mm_context_t;
  9. typedef unsigned long nv_mm_context_t;
  10. #endif