summaryrefslogtreecommitdiffhomepage
path: root/pkg/syncevent/waiter_arm64.s
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-03 12:38:15 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-03 12:38:15 -0700
commitef11bb936b2bbb50b0ceeeb93a74b94680fff724 (patch)
tree277ab5519890f5d48b4bde4b0124730f4339dbf1 /pkg/syncevent/waiter_arm64.s
parent1fbbc795ef8918006214032d96fa88b8a21e5e0a (diff)
parentb9a49f2065732fb4ae27d24ec05e59c4ae09adb4 (diff)
Merge pull request #3460 from zhlhahaha:1927
PiperOrigin-RevId: 324658881
Diffstat (limited to 'pkg/syncevent/waiter_arm64.s')
-rw-r--r--pkg/syncevent/waiter_arm64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/syncevent/waiter_arm64.s b/pkg/syncevent/waiter_arm64.s
index 20d7ac23b..f4c06f194 100644
--- a/pkg/syncevent/waiter_arm64.s
+++ b/pkg/syncevent/waiter_arm64.s
@@ -16,11 +16,11 @@
// See waiter_noasm_unsafe.go for a description of waiterUnlock.
//
-// func waiterUnlock(g unsafe.Pointer, wg *unsafe.Pointer) bool
+// func waiterUnlock(ptr unsafe.Pointer, wg *unsafe.Pointer) bool
TEXT ·waiterUnlock(SB),NOSPLIT,$0-24
MOVD wg+8(FP), R0
MOVD $·preparingG(SB), R1
- MOVD g+0(FP), R2
+ MOVD ptr+0(FP), R2
again:
LDAXR (R0), R3
CMP R1, R3