mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 08:50:54 +07:00
17 lines
240 B
C
17 lines
240 B
C
|
#ifndef __ARM_MMU_H
|
||
|
#define __ARM_MMU_H
|
||
|
|
||
|
typedef struct {
|
||
|
#if __LINUX_ARM_ARCH__ >= 6
|
||
|
unsigned int id;
|
||
|
#endif
|
||
|
} mm_context_t;
|
||
|
|
||
|
#if __LINUX_ARM_ARCH__ >= 6
|
||
|
#define ASID(mm) ((mm)->context.id & 255)
|
||
|
#else
|
||
|
#define ASID(mm) (0)
|
||
|
#endif
|
||
|
|
||
|
#endif
|