Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44609
b: refs/heads/master
c: 13e742b
h: refs/heads/master
i:
  44607: a89fc76
v: v3
  • Loading branch information
Ralph Wuerthner authored and Martin Schwidefsky committed Dec 15, 2006
1 parent 4fb0ff2 commit f680e26
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 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: 028cf917b258b11286437a1b96e64030f94fd46d
refs/heads/master: 13e742babda8cda7df55b8d1ca67d46b4f8dea84
14 changes: 12 additions & 2 deletions trunk/drivers/s390/crypto/ap_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,15 @@ static void ap_poll_thread_stop(void)
mutex_unlock(&ap_poll_thread_mutex);
}

static void ap_reset(void)
static void ap_reset_domain(void)
{
int i;

for (i = 0; i < AP_DEVICES; i++)
ap_reset_queue(AP_MKQID(i, ap_domain_index));
}

static void ap_reset_all(void)
{
int i, j;

Expand All @@ -1139,7 +1147,7 @@ static void ap_reset(void)
}

static struct reset_call ap_reset_call = {
.fn = ap_reset,
.fn = ap_reset_all,
};

/**
Expand Down Expand Up @@ -1229,10 +1237,12 @@ void ap_module_exit(void)
int i;
struct device *dev;

ap_reset_domain();
ap_poll_thread_stop();
del_timer_sync(&ap_config_timer);
del_timer_sync(&ap_poll_timer);
destroy_workqueue(ap_work_queue);
tasklet_kill(&ap_tasklet);
s390_root_dev_unregister(ap_root_device);
while ((dev = bus_find_device(&ap_bus_type, NULL, NULL,
__ap_match_all)))
Expand Down

0 comments on commit f680e26

Please sign in to comment.