1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __ARM64_ASM_SIGNAL_H 3 #define __ARM64_ASM_SIGNAL_H 4 5 #include <asm/memory.h> 6 #include <uapi/asm/signal.h> 7 #include <uapi/asm/siginfo.h> 8 9 static inline void __user *arch_untagged_si_ad 10 11 12 { 13 /* 14 * For historical reasons, all bits of 15 * address bits for watchpoint excepti 16 * handle the tag bits consistently. 17 */ 18 if (sig == SIGTRAP && si_code == TRAP_ 19 return addr; 20 21 return untagged_addr(addr); 22 } 23 #define arch_untagged_si_addr arch_untagged_si 24 25 #endif 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.