[PULL,v2,01/14] linux-user: remove ifdef __USER_MISC

Message ID 20170216143816.2384-2-laurent@vivier.eu
State Accepted
Commit b9a0be9239ef58630c6b436ac7ed2cf0bc3a028d
Headers show
Series
  • [PULL,v2,01/14] linux-user: remove ifdef __USER_MISC
Related show

Commit Message

Laurent Vivier Feb. 16, 2017, 2:38 p.m.
From: Riku Voipio <riku.voipio@linaro.org>


This preprocessor macro isn't set anywhere. Remove
the check so -strace can show these options.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>

---
 linux-user/strace.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.9.3

Patch

diff --git a/linux-user/strace.c b/linux-user/strace.c
index 489dbc9..8fb1b6e 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -90,10 +90,8 @@  if( cmd == val ) { \
     output_cmd( IPC_STAT );
     output_cmd( IPC_INFO );
     /* msgctl() commands */
-    #ifdef __USER_MISC
     output_cmd( MSG_STAT );
     output_cmd( MSG_INFO );
-    #endif
     /* shmctl() commands */
     output_cmd( SHM_LOCK );
     output_cmd( SHM_UNLOCK );