mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-15 04:06:18 +00:00
[S390] zcrypt: fix ap_reset_domain()
Resetting of a all queues within a domain requires that a domain must be selected first. Signed-off-by: Ralph Wuerthner <rwuerthn@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
16db63fda0
commit
39aa7cf612
1 changed files with 3 additions and 2 deletions
|
@ -1231,8 +1231,9 @@ static void ap_reset_domain(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < AP_DEVICES; i++)
|
if (ap_domain_index != -1)
|
||||||
ap_reset_queue(AP_MKQID(i, ap_domain_index));
|
for (i = 0; i < AP_DEVICES; i++)
|
||||||
|
ap_reset_queue(AP_MKQID(i, ap_domain_index));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ap_reset_all(void)
|
static void ap_reset_all(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue