Skip to content

Commit

Permalink
[PATCH] s390: resource accessibility event handling
Browse files Browse the repository at this point in the history
When processing resource accessibility events, continue searching for further
affected subchannels if a link address is provided in the event information.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Cornelia Huck authored and Linus Torvalds committed Jul 27, 2005
1 parent 1d3ac7a commit c63307f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions drivers/s390/cio/chsc.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* drivers/s390/cio/chsc.c
* S/390 common I/O routines -- channel subsystem call
* $Revision: 1.119 $
* $Revision: 1.120 $
*
* Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
Expand Down Expand Up @@ -412,11 +412,7 @@ s390_process_res_acc (u8 chpid, __u16 fla, u32 fla_mask)
if (chp_mask == 0) {

spin_unlock_irq(&sch->lock);

if (fla_mask != 0)
break;
else
continue;
continue;
}
old_lpm = sch->lpm;
sch->lpm = ((sch->schib.pmcw.pim &
Expand All @@ -430,7 +426,7 @@ s390_process_res_acc (u8 chpid, __u16 fla, u32 fla_mask)

spin_unlock_irq(&sch->lock);
put_device(&sch->dev);
if (fla_mask != 0)
if (fla_mask == 0xffff)
break;
}
return rc;
Expand Down

0 comments on commit c63307f

Please sign in to comment.