summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2014-08-17 12:30:28 -0500
committerTejun Heo <tj@kernel.org>2014-08-26 13:45:45 -0400
commita0b6bc63a20a91faef0127cc61cca6d06ee737df (patch)
treebf510806a9c5f937d51e0d71014da06c8d27f106 /fs/ext4/mballoc.c
parent4a32fea9d78f2d2315c0072757b197d5a304dc8b (diff)
downloadop-kernel-dev-a0b6bc63a20a91faef0127cc61cca6d06ee737df.zip
op-kernel-dev-a0b6bc63a20a91faef0127cc61cca6d06ee737df.tar.gz
block: Replace __this_cpu_ptr with raw_cpu_ptr
__this_cpu_ptr is being phased out use raw_cpu_ptr instead which was introduced in 3.15-rc1. Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 9560277..33ccdcf 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4129,7 +4129,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac)
* per cpu locality group is to reduce the contention between block
* request from multiple CPUs.
*/
- ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups);
+ ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
/* we're going to use group allocation */
ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;
OpenPOWER on IntegriCloud