]> Cypherpunks repositories - gostls13.git/commit
runtime: fix fault during arm software floating point
authorRuss Cox <rsc@golang.org>
Thu, 3 Apr 2014 19:39:48 +0000 (15:39 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 Apr 2014 19:39:48 +0000 (15:39 -0400)
commitb2cbf49343a89cc76a17a0b8361f9e977699aa5d
tree38d9a5c0a647664c0a1f88380af5a7650ddb0300
parent9dbb185fb6902d9a1308f709deaa67460ccd6c02
runtime: fix fault during arm software floating point

The software floating point runs with m->locks++
to avoid being preempted; recognize this case in panic
and undo it so that m->locks is maintained correctly
when panicking.

Fixes #7553.

LGTM=dvyukov
R=golang-codereviews, dvyukov
CC=golang-codereviews
https://golang.org/cl/84030043
src/pkg/runtime/panic.c
src/pkg/runtime/runtime.h
src/pkg/runtime/vlop_arm.s