blob: a457cb71984f58cdd8ba6de24a8f33a93b9bdd95 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ARM_MMU_H
2#define __ARM_MMU_H
3
4typedef struct {
5#if __LINUX_ARM_ARCH__ >= 6
6 unsigned int id;
7#endif
8} mm_context_t;
9
10#if __LINUX_ARM_ARCH__ >= 6
11#define ASID(mm) ((mm)->context.id & 255)
12#else
13#define ASID(mm) (0)
14#endif
15
16#endif