Fix function call: 1st argument is the thread id.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15100 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_sigframe/sigframe-tilegx-linux.c b/coregrind/m_sigframe/sigframe-tilegx-linux.c
index e6cf4ef..9514afe 100644
--- a/coregrind/m_sigframe/sigframe-tilegx-linux.c
+++ b/coregrind/m_sigframe/sigframe-tilegx-linux.c
@@ -76,7 +76,7 @@
ThreadId tid = tst->tid;
NSegment const* stackseg = NULL;
- if (VG_(extend_stack)(addr, addr))
+ if (VG_(extend_stack)(tid, addr))
stackseg = VG_(am_find_nsegment)(addr);
if (stackseg == NULL || !stackseg->hasR || !stackseg->hasW)