From 9cc125fb3cfdc2c8ae7153b5ae0fe705980835fb Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 6 Jan 2022 23:39:12 +0200 Subject: Allow building with clang + Release mode is sort of broken, as lto doesn't work with linker relaxation and turning the relaxation off causes issues with the jump from init to kernel (as I've currently implemented it, could probably be fixed with a manual jump from assembly, I'll add it to my TODO list) --- arch/riscv/kernel/cpu.c | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 arch/riscv/kernel/cpu.c (limited to 'arch/riscv/kernel/cpu.c') diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c deleted file mode 100644 index 6ae4ee7..0000000 --- a/arch/riscv/kernel/cpu.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -id_t cpu_id() -{ - return 0; /* VERY MUCH TEMP */ -} -- cgit v1.3