diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2004-03-17 21:30:28 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-17 21:30:28 -0800 |
| commit | ae01bd8fc64f40573fcb304c358cc33674f9a773 (patch) | |
| tree | 287c0870e633fcbca8dc6e2927aa2543189fe515 /include/linux | |
| parent | 30d676950d7fe057ea6060a2c60ce4fead7d1f67 (diff) | |
[PATCH] Implement migrate_all_tasks
Implement migrate_all_tasks() which moves tasks off cpu while machine
is stopped.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
