Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_realme_mt6785
/
6254944faf5ff96b8b468457e3e2b2dcacc29fb7
/
.
/
include
/
asm-arm
/
mmu.h
blob: a457cb71984f58cdd8ba6de24a8f33a93b9bdd95 [
file
] [
log
] [
blame
]
#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