Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333918
b: refs/heads/master
c: ecf89e5
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Oct 12, 2012
1 parent 9475054 commit 3ddf2ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba4df2808a86f8b103c4db0b8807649383e9bd13
refs/heads/master: ecf89e581acce83e8cd2a5530858be22c64441f7
5 changes: 2 additions & 3 deletions trunk/arch/powerpc/platforms/pseries/eeh_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/kthread.h>
#include <asm/eeh_event.h>
#include <asm/ppc-pci.h>

Expand Down Expand Up @@ -59,8 +60,6 @@ static int eeh_event_handler(void * dummy)
struct eeh_event *event;
struct eeh_dev *edev;

set_task_comm(current, "eehd");

spin_lock_irqsave(&eeh_eventlist_lock, flags);
event = NULL;

Expand Down Expand Up @@ -113,7 +112,7 @@ static int eeh_event_handler(void * dummy)
*/
static void eeh_thread_launcher(struct work_struct *dummy)
{
if (kernel_thread(eeh_event_handler, NULL, CLONE_KERNEL) < 0)
if (IS_ERR(kthread_run(eeh_event_handler, NULL, "eehd")))
printk(KERN_ERR "Failed to start EEH daemon\n");
}

Expand Down

0 comments on commit 3ddf2ef

Please sign in to comment.