diff --git a/kernel/src/syscall/mod.rs b/kernel/src/syscall/mod.rs index 5ee4d61c..36f8660f 100644 --- a/kernel/src/syscall/mod.rs +++ b/kernel/src/syscall/mod.rs @@ -62,7 +62,7 @@ pub async fn handle_syscall(thread: &Arc, context: &mut UserContext) -> { context.sepc = context.sepc + 4; } - #[cfg(mips)] + #[cfg(mipsel)] { context.epc = context.epc + 4; }