aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2014-08-11 17:10:23 -0400
committerShenghou Ma <minux@golang.org>2014-08-11 17:10:23 -0400
commit4769f87e0d39cbcce5309ff79c82465629798d15 (patch)
treed9e99342805f59968edc4975e2e9a6ff1157afd6 /src/pkg/runtime
parent2a37efbe1e25d30a4a998fc7ddad6d10c7df74da (diff)
downloadgo-4769f87e0d39cbcce5309ff79c82465629798d15.tar.xz
runtime: no need to set R9 to m for runtime.sigpanic anymore
Replaces CL 123980043 which I created on the dev.power64 branch. LGTM=rsc R=rsc, iant CC=golang-codereviews https://golang.org/cl/123120043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/signal_arm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/signal_arm.c b/src/pkg/runtime/signal_arm.c
index 1f9a2325d1..3571cf3ac6 100644
--- a/src/pkg/runtime/signal_arm.c
+++ b/src/pkg/runtime/signal_arm.c
@@ -76,7 +76,6 @@ runtime·sighandler(int32 sig, Siginfo *info, void *ctxt, G *gp)
SIG_LR(info, ctxt) = gp->sigpc;
// In case we are panicking from external C code
SIG_R10(info, ctxt) = (uintptr)gp;
- SIG_R9(info, ctxt) = (uintptr)g->m;
SIG_PC(info, ctxt) = (uintptr)runtime·sigpanic;
return;
}