summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2010-12-01 10:08:02 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-12-01 10:08:17 +0100
commit8d7bfb4a891d606d52e1a99cf7231b4417b935dc (patch)
tree8b44806c3c37b2772880e4356fccd52785bf6b17 /drivers/s390
parent398812159e328478ae49b4bd01f0d71efea96c39 (diff)
downloadlinux-8d7bfb4a891d606d52e1a99cf7231b4417b935dc.tar.gz
linux-8d7bfb4a891d606d52e1a99cf7231b4417b935dc.tar.bz2
linux-8d7bfb4a891d606d52e1a99cf7231b4417b935dc.zip
[S390] css: fix rsid evaluation for 2nd crw
Use correct bit positions of rsid field. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/cio/css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index a5050e217150..825951b6b83f 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -635,7 +635,7 @@ static void css_process_crw(struct crw *crw0, struct crw *crw1, int overflow)
init_subchannel_id(&mchk_schid);
mchk_schid.sch_no = crw0->rsid;
if (crw1)
- mchk_schid.ssid = (crw1->rsid >> 8) & 3;
+ mchk_schid.ssid = (crw1->rsid >> 4) & 3;
/*
* Since we are always presented with IPI in the CRW, we have to