Skip to content

Commit 011b34d

Browse files
Fix build without smp feature
1 parent 96b8f27 commit 011b34d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/arch/riscv/kernel/start.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
use core::arch::asm;
2-
1+
#[cfg(not(feature = "smp"))]
2+
use crate::arch::riscv::kernel::processor;
33
use crate::arch::riscv::kernel::{BootInfo, BOOTINFO_MAGIC_NUMBER, BOOT_INFO};
44
use crate::KERNEL_STACK_SIZE;
5+
use core::arch::asm;
56

67
//static mut BOOT_STACK: [u8; KERNEL_STACK_SIZE] = [0; KERNEL_STACK_SIZE];
78

0 commit comments

Comments
 (0)