Files
Debian-9-Kernel/arch/arm64/include/asm/asm-uaccess.h
T
2023-05-02 09:58:35 +02:00

14 lines
261 B
C

#ifndef __ASM_ASM_UACCESS_H
#define __ASM_ASM_UACCESS_H
/*
* Remove the address tag from a virtual address, if present.
*/
.macro clear_address_tag, dst, addr
tst \addr, #(1 << 55)
bic \dst, \addr, #(0xff << 56)
csel \dst, \dst, \addr, eq
.endm
#endif