[PULL,v2,23/25] linux-user: Fix struct sigaltstack for openrisc

Message ID 20180702151023.24532-24-shorne@gmail.com
State New
Headers show
Series
  • [PULL,v2,01/25] target/openrisc: Fix mtspr shadow gprs
Related show

Commit Message

Stafford Horne July 2, 2018, 3:10 p.m.
From: Richard Henderson <richard.henderson@linaro.org>


Reviewed-by: Laurent Vivier <laurent@vivier.eu>

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

Signed-off-by: Stafford Horne <shorne@gmail.com>

---
 linux-user/openrisc/target_signal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.0

Patch

diff --git a/linux-user/openrisc/target_signal.h b/linux-user/openrisc/target_signal.h
index c352a8b333..8283eaf544 100644
--- a/linux-user/openrisc/target_signal.h
+++ b/linux-user/openrisc/target_signal.h
@@ -5,8 +5,8 @@ 
 
 typedef struct target_sigaltstack {
     abi_long ss_sp;
+    abi_int ss_flags;
     abi_ulong ss_size;
-    abi_long ss_flags;
 } target_stack_t;
 
 /* sigaltstack controls  */