diff mbox series

[v2,15/23] linux-user/nios2: Document non-use of setup_sigtramp

Message ID 20210618192951.125651-16-richard.henderson@linaro.org
State Superseded
Headers show
Series linux-user: Move signal trampolines to new page | expand

Commit Message

Richard Henderson June 18, 2021, 7:29 p.m. UTC
Cc: Chris Wulff <crwulff@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 linux-user/nios2/target_signal.h | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.25.1

Comments

Philippe Mathieu-Daudé June 19, 2021, 9:35 a.m. UTC | #1
On 6/18/21 9:29 PM, Richard Henderson wrote:
> Cc: Chris Wulff <crwulff@gmail.com>

> Cc: Marek Vasut <marex@denx.de>

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

> ---

>  linux-user/nios2/target_signal.h | 3 +++

>  1 file changed, 3 insertions(+)


Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
diff mbox series

Patch

diff --git a/linux-user/nios2/target_signal.h b/linux-user/nios2/target_signal.h
index aebf749f12..fe266c4c51 100644
--- a/linux-user/nios2/target_signal.h
+++ b/linux-user/nios2/target_signal.h
@@ -19,4 +19,7 @@  typedef struct target_sigaltstack {
 
 #include "../generic/signal.h"
 
+/* Nios2 uses a fixed address on the kuser page for sigreturn. */
+#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 0
+
 #endif /* NIOS2_TARGET_SIGNAL_H */