summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-03-13 05:20:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-03-13 05:20:08 +0000
commit98174f462a5199054adcfff04c623e54ae065535 (patch)
tree7273c4db181483ac11958545a1bac8fadb78d888 /sys/arch
parented9b5aad08e8e728861e1ac6d39a9b663880fb7d (diff)
improve comment about the speculation barrier
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/arm64/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/arm64/syscall.c b/sys/arch/arm64/arm64/syscall.c
index 9c530d049bd..af40a4823bf 100644
--- a/sys/arch/arm64/arm64/syscall.c
+++ b/sys/arch/arm64/arm64/syscall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.c,v 1.5 2020/02/16 09:33:47 kettenis Exp $ */
+/* $OpenBSD: syscall.c,v 1.6 2020/03/13 05:20:07 deraadt Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
*
@@ -50,7 +50,7 @@ svc_handler(trapframe_t *frame)
if (__predict_true((frame->tf_spsr & I_bit) == 0))
enable_interrupts();
- /* Skip over barrier. */
+ /* Skip over speculation-blocking barrier. */
frame->tf_elr += 8;
code = frame->tf_x[8];