From 1e261597a5c5f9803a65a5b13dd71d33d501f010 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 18 Jan 2023 23:18:49 +0100 Subject: kernel: add a root argument to process_next --- src/kernel/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index fa50520..c51151b 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -96,7 +96,7 @@ void process_tryreap(struct process *dead); _Noreturn void process_switch_any(void); /** Used for iterating over all processes */ -struct process *process_next(struct process *); +struct process *process_next(struct process *p, struct process *root); handle_t process_find_free_handle(struct process *proc, handle_t start_at); struct handle *process_handle_get(struct process *, handle_t); -- cgit v1.2.3