From 85528673f134055d320257ee6675a53eb0b78814 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Tue, 7 Jul 2020 17:28:54 +0800 Subject: [PATCH] Fix typo --- kernel/src/syscall/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }