Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(771)

Unified Diff: src/pkg/runtime/sys_linux_386.s

Issue 6498057: code review 6498057: runtime: discard SIGPROF delivered to non-Go threads. (Closed)
Patch Set: diff -r 92e962e13197 https://code.google.com/p/go/ Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/sys_freebsd_amd64.s ('k') | src/pkg/runtime/sys_linux_amd64.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/sys_linux_386.s
===================================================================
--- a/src/pkg/runtime/sys_linux_386.s
+++ b/src/pkg/runtime/sys_linux_386.s
@@ -170,8 +170,11 @@
// check that m exists
MOVL m(CX), BX
CMPL BX, $0
- JNE 2(PC)
+ JNE 5(PC)
+ MOVL sig+0(FP), BX
+ MOVL BX, 0(SP)
CALL runtime·badsignal(SB)
+ RET
// save g
MOVL g(CX), DI
« no previous file with comments | « src/pkg/runtime/sys_freebsd_amd64.s ('k') | src/pkg/runtime/sys_linux_amd64.s » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b