diff options
author | Christoph Lameter <cl@linux.com> | 2014-08-17 19:30:46 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-26 19:45:52 +0200 |
commit | 0bf7fcf155160fd483af7ffdc50efd4be96f1c96 (patch) | |
tree | 55c48262e30522d67973ec869bd8ac2880df3446 /drivers/s390/cio/ccwreq.c | |
parent | s390: Replace __get_cpu_var uses (diff) | |
download | linux-0bf7fcf155160fd483af7ffdc50efd4be96f1c96.tar.xz 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.c | 2 |
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; |