]> git.tuebingen.mpg.de Git - paraslash.git/commit
sched: Do not shadow task_info in struct task.
authorAndre Noll <maan@systemlinux.org>
Thu, 2 Jan 2014 01:43:21 +0000 (01:43 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 25 May 2014 13:39:01 +0000 (15:39 +0200)
commitc52b8398d68a87d8fac858f6681dee5f0b09289d
treec9afbd82876900615b4b1c17ba5a0fd3c81a1af8
parent69a294cd641c623db61f46ee86901845789a1c7b
sched: Do not shadow task_info in struct task.

All fields of struct task_info have direct counterparts in struct
task. The fields of struct task are initialized in task_register()
to the corresponding fields of struct task_info. It's easier to
just embed a task_info structure in struct task instead. This also
guarantees that task_register() stays correct in case another field
is added to struct task_info.
sched.c