mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] sched: cleanup, remove task_t, convert to struct task_struct
cleanup: remove task_t and convert all the uses to struct task_struct. I introduced it for the scheduler anno and it was a mistake. Conversion was mostly scripted, the result was reviewed and all secondary whitespace and style impact (if any) was fixed up by hand. Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
48f24c4da1
commit
36c8b58689
25 changed files with 203 additions and 187 deletions
|
|
@ -120,7 +120,7 @@ struct epoll_filefd {
|
|||
*/
|
||||
struct wake_task_node {
|
||||
struct list_head llink;
|
||||
task_t *task;
|
||||
struct task_struct *task;
|
||||
wait_queue_head_t *wq;
|
||||
};
|
||||
|
||||
|
|
@ -413,7 +413,7 @@ static void ep_poll_safewake(struct poll_safewake *psw, wait_queue_head_t *wq)
|
|||
{
|
||||
int wake_nests = 0;
|
||||
unsigned long flags;
|
||||
task_t *this_task = current;
|
||||
struct task_struct *this_task = current;
|
||||
struct list_head *lsthead = &psw->wake_task_list, *lnk;
|
||||
struct wake_task_node *tncur;
|
||||
struct wake_task_node tnode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue