block: Replace __this_cpu_ptr with raw_cpu_ptr
authorChristoph Lameter <cl@linux.com>
Sun, 17 Aug 2014 17:30:28 +0000 (12:30 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 26 Aug 2014 17:45:45 +0000 (13:45 -0400)
__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>
fs/ext4/mballoc.c

index 956027711faf29aa52669d27061794840e332e08..33ccdcf51a9e6b041f0eaa2ba79a875eef547525 100644 (file)
@@ -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;