From ae01bd8fc64f40573fcb304c358cc33674f9a773 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 17 Mar 2004 21:30:28 -0800 Subject: [PATCH] Implement migrate_all_tasks Implement migrate_all_tasks() which moves tasks off cpu while machine is stopped. --- include/linux/sched.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/sched.h b/include/linux/sched.h index d15706883bb6..eb5bc2f12788 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -547,6 +547,8 @@ extern void node_nr_running_init(void); #define node_nr_running_init() {} #endif +/* Move tasks off this (offline) CPU onto another. */ +extern void migrate_all_tasks(void); extern void set_user_nice(task_t *p, long nice); extern int task_prio(task_t *p); extern int task_nice(task_t *p); -- cgit v1.2.3