summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index 2c4cc5c..e97d5cf 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -6,7 +6,6 @@
#include <kernel/vfs/mount.h>
#include <shared/mem.h>
#include <stdint.h>
-#include <kernel/vfs/root.h> // TODO
struct process *process_first;
struct process *process_current;
@@ -108,7 +107,7 @@ _Noreturn void process_idle(void) {
if (procs[i]->waits4irq.ready()) {
/* if this is entered during the first iteration, it indicates a
* kernel bug. this should be logged. TODO? */
- vfs_root_handler(&procs[i]->waits4irq.req); // TODO this should be a function pointer too
+ procs[i]->waits4irq.callback(procs[i]);
process_switch_any();
}
}