From: Christoph Lameter Date: Sun, 17 Aug 2014 17:30:28 +0000 (-0500) Subject: block: Replace __this_cpu_ptr with raw_cpu_ptr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a0b6bc63a20a91faef0127cc61cca6d06ee737df;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 956027711faf..33ccdcf51a9e 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;