On 9/21/21 11:14 PM, Warner Losh wrote:
Move TARGET_MC_GET_CLEAR_RET to freebsd/target_os_signal.h since it's
FreeBSD-wide.

Signed-off-by: Warner Losh <i...@bsdimp.com>
---
  bsd-user/freebsd/target_os_signal.h  | 3 +++
  bsd-user/i386/target_arch_signal.h   | 2 --
  bsd-user/x86_64/target_arch_signal.h | 2 --
  3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/bsd-user/freebsd/target_os_signal.h 
b/bsd-user/freebsd/target_os_signal.h
index 3ed454e086..9fcdfce003 100644
--- a/bsd-user/freebsd/target_os_signal.h
+++ b/bsd-user/freebsd/target_os_signal.h
@@ -1,6 +1,9 @@
  #ifndef _TARGET_OS_SIGNAL_H_
  #define _TARGET_OS_SIGNAL_H_
+/* FreeBSD's sys/ucontex.h defines this */

ucontext

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to