From 19e65a4bb709af6c512f82110cea08ae1c033eaa Mon Sep 17 00:00:00 2001 From: acevest Date: Wed, 9 Oct 2019 11:43:56 +0800 Subject: [PATCH] remove extra instructions in port_sched_start --- arch/risc-v/rv32i/gcc/port_s.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/risc-v/rv32i/gcc/port_s.S b/arch/risc-v/rv32i/gcc/port_s.S index 489a13d6..4de91bce 100644 --- a/arch/risc-v/rv32i/gcc/port_s.S +++ b/arch/risc-v/rv32i/gcc/port_s.S @@ -146,10 +146,6 @@ port_sched_start: lw t0, (t0) // t0 = &(k_curr_task->sp) lw sp, (t0) // sp = k_curr_task->sp - // save sp to stack - addi t1, sp, 128 - sw t1, (t0) - j restore_context