Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85896
b: refs/heads/master
c: 4c62972
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed Feb 19, 2008
1 parent 7a0efd6 commit 84e3949
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 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: 486d0a0079eb782cdb73f18246e26076c615a020
refs/heads/master: 4c629727cefe45abb2f7459836bfc4b41c5e55ba
13 changes: 12 additions & 1 deletion trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ static int recovery_check(struct device *dev, void *data)
return 0;
}

static void recovery_func(unsigned long data)
static void recovery_work_func(struct work_struct *unused)
{
int redo = 0;

Expand All @@ -1553,6 +1553,17 @@ static void recovery_func(unsigned long data)
CIO_MSG_EVENT(2, "recovery: end\n");
}

static DECLARE_WORK(recovery_work, recovery_work_func);

static void recovery_func(unsigned long data)
{
/*
* We can't do our recovery in softirq context and it's not
* performance critical, so we schedule it.
*/
schedule_work(&recovery_work);
}

void ccw_device_schedule_recovery(void)
{
unsigned long flags;
Expand Down

0 comments on commit 84e3949

Please sign in to comment.