From 9084f0736c3c53e4210409fb000530fc12c03825 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 9 Sep 2009 13:46:42 -0400 Subject: PR10602 prime: runtime: shrink stack frame of _stp_do_relocation(). * transport/symbols.c (_stp_do_relocation): Make msg static. --- runtime/transport/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit