summaryrefslogtreecommitdiff
path: root/src/runtime/norace_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/norace_test.go')
-rw-r--r--src/runtime/norace_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/norace_test.go b/src/runtime/norace_test.go
index 3b171877a..3681bf190 100644
--- a/src/runtime/norace_test.go
+++ b/src/runtime/norace_test.go
@@ -34,12 +34,12 @@ func benchmarkSyscall(b *testing.B, work, excess int) {
b.RunParallel(func(pb *testing.PB) {
foo := 42
for pb.Next() {
- runtime.Entersyscall()
+ runtime.Entersyscall(0)
for i := 0; i < work; i++ {
foo *= 2
foo /= 2
}
- runtime.Exitsyscall()
+ runtime.Exitsyscall(0)
}
_ = foo
})