add btrie_map() for allocating free slot, remove isrm
[lunaix-os.git] / lunaix-os / kernel / process / sched.c
index 31775bfdf7c36d19c77120c3a67d76da2e11d747..e9f61b313af2bf466cb71656ccb27dd3cd1dfea1 100644 (file)
@@ -20,8 +20,6 @@
 #include <lunaix/hart_state.h>
 #include <lunaix/kpreempt.h>
 
-#include <asm-generic/isrm.h>
-
 #include <klibc/string.h>
 
 struct thread empty_thread_obj;
@@ -221,7 +219,6 @@ schedule()
     sched_ctx.procs_index = to_check->process->pid;
 
 done:
-    isrm_notify_eos(0);
     run(to_check);
 
     fail("unexpected return from scheduler");