summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/ccwreq.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2014-08-17 12:30:46 -0500
committerTejun Heo <tj@kernel.org>2014-08-26 13:45:52 -0400
commit0bf7fcf155160fd483af7ffdc50efd4be96f1c96 (patch)
tree55c48262e30522d67973ec869bd8ac2880df3446 /drivers/s390/cio/ccwreq.c
parenteb7e7d766326f70859046bfdb6277068c2461fe2 (diff)
downloadtalos-obmc-linux-0bf7fcf155160fd483af7ffdc50efd4be96f1c96.tar.gz
talos-obmc-linux-0bf7fcf155160fd483af7ffdc50efd4be96f1c96.zip
s390: cio driver &__get_cpu_var replacements
Use this_cpu_ptr() instead of &__get_cpu_var() Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/s390/cio/ccwreq.c')
-rw-r--r--drivers/s390/cio/ccwreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/ccwreq.c b/drivers/s390/cio/ccwreq.c
index 07676c22d514..79f59915f71b 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 = &__get_cpu_var(cio_irb);
+ struct irb *irb = this_cpu_ptr(&cio_irb);
struct ccw_request *req = &cdev->private->req;
enum io_status status;
int rc = -EOPNOTSUPP;
OpenPOWER on IntegriCloud