usb: gadget: f_mtp: Avoid race between mtp_read and mtp_function_disable
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / arch / arm64 / include / asm / asm-uaccess.h
CommitLineData
3ccf6956
KM
1#ifndef __ASM_ASM_UACCESS_H
2#define __ASM_ASM_UACCESS_H
3
4/*
5 * Remove the address tag from a virtual address, if present.
6 */
7 .macro clear_address_tag, dst, addr
8 tst \addr, #(1 << 55)
9 bic \dst, \addr, #(0xff << 56)
10 csel \dst, \dst, \addr, eq
11 .endm
12
13#endif