summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-07-02 14:58:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-07-02 14:58:34 +0000
commit7b7ab9b132699bf3b82cbf78e0e210a14aec4aaa (patch)
tree208bbd33bf19635446f1e582436bb76e65bfcc64
parent79779d9147a4c476d793d4329cd62ce25072cf16 (diff)
Remove bogus comments.
-rw-r--r--sys/arch/riscv64/riscv64/cpuswitch.S8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/riscv64/riscv64/cpuswitch.S b/sys/arch/riscv64/riscv64/cpuswitch.S
index d5cac6bc6f0..45319ea6ee4 100644
--- a/sys/arch/riscv64/riscv64/cpuswitch.S
+++ b/sys/arch/riscv64/riscv64/cpuswitch.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpuswitch.S,v 1.4 2021/06/28 18:38:17 kettenis Exp $ */
+/* $OpenBSD: cpuswitch.S,v 1.5 2021/07/02 14:58:33 kettenis Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
@@ -49,8 +49,6 @@ ENTRY(cpu_switchto_asm)
ld a5, CI_CURPCB(tp)
sd sp, PCB_SP(a5)
- // XXX store fpu, if necessary
-
1:
RETGUARD_SYMBOL(cpu_switchto)
RETGUARD_LOAD_RANDOM(cpu_switchto, s0)
@@ -87,15 +85,12 @@ ENTRY(cpu_switchto_asm)
ld s11, (SF_S + 11 * 8)(sp)
ld ra, SF_RA(sp)
- // XXX restore fpu, if necessary
-
RETGUARD_CALC_COOKIE(a7)
addi sp, sp, SWITCHFRAME_SIZEOF
RETGUARD_CHECK(cpu_switchto, a7)
ret
END(cpu_switch_asm)
-
ENTRY(proc_trampoline)
#ifdef MULTIPROCESSOR
la t0, _C_LABEL(proc_trampoline_mp)
@@ -110,4 +105,3 @@ ENTRY(proc_trampoline)
la t0, syscall_return
jr t0
END(cpu_switch)
-