Skip to content

Commit

Permalink
powerpc/eeh: Remove eeh_event_handler()->daemonize()
Browse files Browse the repository at this point in the history
daemonize() is only needed when a user-space task does kernel_thread().

eeh_event_handler() thread is created by the worker kthread, and thus it
doesn't need the soon-to-be-deprecated daemonize().

Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Linas Vepstas <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Acked-by: Matt Fleming <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
  • Loading branch information
oleg-nesterov authored and ozbenh committed Apr 2, 2012
1 parent 95327d0 commit 37ef9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/eeh_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static int eeh_event_handler(void * dummy)
struct eeh_event *event;
struct eeh_dev *edev;

daemonize("eehd");
set_task_comm(current, "eehd");
set_current_state(TASK_INTERRUPTIBLE);

spin_lock_irqsave(&eeh_eventlist_lock, flags);
Expand Down

0 comments on commit 37ef9bd

Please sign in to comment.