diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-05-27 14:40:39 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-05-28 10:39:16 +0200 |
commit | 63aef00b55d37e9fad837a8b38a2c261f0d32041 (patch) | |
tree | 3cc75663f7b7aef3e303d440a927488e3660657e /drivers/s390/cio/ccwreq.c | |
parent | s390/lowcore: reserve 96 bytes for IRB in lowcore (diff) | |
download | linux-63aef00b55d37e9fad837a8b38a2c261f0d32041.tar.xz linux-63aef00b55d37e9fad837a8b38a2c261f0d32041.zip |
s390/lowcore: replace lowcore irb array with a per-cpu variable
Remove the 96-byte irb array from the lowcore and create a per-cpu
variable instead. That way we will pick up any change in the definition
of the struct irb automatically.
Acked-By: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/ccwreq.c')
-rw-r--r-- | drivers/s390/cio/ccwreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/ccwreq.c b/drivers/s390/cio/ccwreq.c index fc5fb51d9bce..07676c22d514 100644 --- a/drivers/s390/cio/ccwreq.c +++ b/drivers/s390/cio/ccwreq.c @@ -252,7 +252,7 @@ static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) */ void ccw_request_handler(struct ccw_device *cdev) { - struct irb *irb = (struct irb *)&S390_lowcore.irb; + struct irb *irb = &__get_cpu_var(cio_irb); struct ccw_request *req = &cdev->private->req; enum io_status status; int rc = -EOPNOTSUPP; |