From 7b3bdc05d01be714403c91404a97f737c3775560 Mon Sep 17 00:00:00 2001 From: kettenis Date: Fri, 2 Jul 2021 14:58:33 +0000 Subject: [PATCH] Remove bogus comments. --- sys/arch/riscv64/riscv64/cpuswitch.S | 8 +------- 1 file changed, 1 insertion(+), 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 @@ -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) - -- 2.20.1