summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-09 13:46:42 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-09 13:46:42 -0400
commit9084f0736c3c53e4210409fb000530fc12c03825 (patch)
tree53b5a73e741eb6ad8383508d748bd338908bb054 /runtime
parent54ff5e0c65ee5a5ee15256c2ff3ae481ee6db463 (diff)
downloadsystemtap-steved-9084f0736c3c53e4210409fb000530fc12c03825.tar.gz
systemtap-steved-9084f0736c3c53e4210409fb000530fc12c03825.tar.xz
systemtap-steved-9084f0736c3c53e4210409fb000530fc12c03825.zip
PR10602 prime: runtime: shrink stack frame of _stp_do_relocation().
* transport/symbols.c (_stp_do_relocation): Make msg static.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/transport/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/transport/symbols.c b/runtime/transport/symbols.c
index 3e6a2fb1..a214d1f2 100644
--- a/runtime/transport/symbols.c
+++ b/runtime/transport/symbols.c
@@ -15,7 +15,7 @@
static void _stp_do_relocation(const char __user *buf, size_t count)
{
- struct _stp_msg_relocation msg;
+ static struct _stp_msg_relocation msg; /* by protocol, never concurrently used */
unsigned mi, si;
if (sizeof(msg) != count)