aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/include/sched/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/include/sched/sched.h')
-rw-r--r--kernel/sched/include/sched/sched.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/sched/include/sched/sched.h b/kernel/sched/include/sched/sched.h
index a7f45ee..5e45328 100644
--- a/kernel/sched/include/sched/sched.h
+++ b/kernel/sched/include/sched/sched.h
@@ -76,9 +76,7 @@ static inline void sleep_on(struct list_head* queue) {
* Wakes all tasks waiting in the given queue.
* This moves all tasks contained in the queue to the ready queue.
*/
-static inline void wake_all(struct list_head* queue) {
- list_splice_init(queue, ready.prev);
-}
+void wake_all(struct list_head* queue);
/**
* Initializes the scheduler by setting up kstack, initializing the idle task
@@ -108,9 +106,6 @@ void spawn(struct tcb_t* const tcb, char args);
*/
void yield() __attribute__ ( ( naked ) );
-void freeze() __attribute__ ( ( naked ) );
-
-
#define ENTER_CRITICAL() cli()
#define EXIT_CRITICAL() sei()