asm-uaccess.h 261 B

12345678910111213
  1. #ifndef __ASM_ASM_UACCESS_H
  2. #define __ASM_ASM_UACCESS_H
  3. /*
  4. * Remove the address tag from a virtual address, if present.
  5. */
  6. .macro clear_address_tag, dst, addr
  7. tst \addr, #(1 << 55)
  8. bic \dst, \addr, #(0xff << 56)
  9. csel \dst, \dst, \addr, eq
  10. .endm
  11. #endif