summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2021-01-09 11:38:54 +0000
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-09 22:37:27 +0900
commit161a20df28dd09ff35a32a7e2b7ce6cab7079707 (patch)
tree9728cfd163f95ecb145432b0989d2470bc12f28e /gc.c
parent3d9c95996dfc8e1d6bc263509273f13caaf06f77 (diff)
gc fix typo for the timer instruction for ARM64.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4044
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index fdb1a475b9..0dbee77293 100644
--- a/gc.c
+++ b/gc.c
@@ -1150,7 +1150,7 @@ static __inline__ tick_t
tick(void)
{
unsigned long val;
- __asm__ __volatile__ ("mrs %0, cntvct_el0", : "=r" (val));
+ __asm__ __volatile__ ("mrs %0, cntvct_el0" : "=r" (val));
return val;
}