summaryrefslogtreecommitdiff
path: root/mem.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2014-04-09 13:14:44 +0000
committerDmitry V. Levin <ldv@altlinux.org>2014-04-09 13:14:44 +0000
commit15bc2812698431b17b414fa98b972146102cb8c0 (patch)
treebd79212bac080aa4e30eb7662edc4ec08b3ba0ba /mem.c
parent662221cab36826a502588279aaab4f3b9f942a60 (diff)
downloadstrace-15bc2812698431b17b414fa98b972146102cb8c0.tar.gz
strace-15bc2812698431b17b414fa98b972146102cb8c0.tar.bz2
strace-15bc2812698431b17b414fa98b972146102cb8c0.tar.xz
mips: enable decoding of set_thread_area
* linux/dummy.h [MIPS]: Do not redirect sys_set_thread_area to printargs. * mem.c [MIPS] (sys_set_thread_area): Define.
Diffstat (limited to 'mem.c')
-rw-r--r--mem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mem.c b/mem.c
index 9207fb2..4b6bc18 100644
--- a/mem.c
+++ b/mem.c
@@ -637,7 +637,7 @@ sys_get_thread_area(struct tcb *tcp)
}
#endif /* I386 || X86_64 || X32 */
-#if defined(M68K)
+#if defined(M68K) || defined(MIPS)
int
sys_set_thread_area(struct tcb *tcp)
{
@@ -646,7 +646,9 @@ sys_set_thread_area(struct tcb *tcp)
return 0;
}
+#endif
+#if defined(M68K)
int
sys_get_thread_area(struct tcb *tcp)
{