refactor: one more step towards arch-agnostic design
[lunaix-os.git] / lunaix-os / kernel / spike.c
index 231b85d6f375a97692b374b351cc77f968c14b50..67f9abe07eaa402d55df61d72169c644601ee03e 100644 (file)
@@ -1,6 +1,6 @@
-#include <sys/interrupts.h>
 #include <klibc/stdio.h>
 #include <lunaix/spike.h>
+#include <sys/interrupts.h>
 
 static char buffer[1024];
 
@@ -18,9 +18,9 @@ __assert_fail(const char* expr, const char* file, unsigned int line)
     DO_SPIN // never reach
 }
 
-void
+void noret
 panick(const char* msg)
-{       
+{
     cpu_trap_panic(msg);
     DO_SPIN
 }