diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-26 14:10:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 15:57:54 -0400 |
commit | 41f9d29f09ca0b22c3631e8a39676e74cda9bcc0 (patch) | |
tree | 7ab5ed25f14466471fb55536e1cf71c514fb7fe9 /kernel/irq/manage.c | |
parent | 7266702805f9d824f92ce5c4069eca65d0f21d28 (diff) |
trimming task_work: kill ->data
get rid of the only user of ->data; this is _not_ the final variant - in the
end we'll have task_work and rcu_head identical and just use cred->rcu,
at which point the separate allocation will be gone completely.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 8c548232ba39..d1dd54734ce7 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -830,7 +830,7 @@ static int irq_thread(void *data) | |||
830 | 830 | ||
831 | sched_setscheduler(current, SCHED_FIFO, ¶m); | 831 | sched_setscheduler(current, SCHED_FIFO, ¶m); |
832 | 832 | ||
833 | init_task_work(&on_exit_work, irq_thread_dtor, NULL); | 833 | init_task_work(&on_exit_work, irq_thread_dtor); |
834 | task_work_add(current, &on_exit_work, false); | 834 | task_work_add(current, &on_exit_work, false); |
835 | 835 | ||
836 | while (!irq_wait_for_interrupt(action)) { | 836 | while (!irq_wait_for_interrupt(action)) { |