Skip to content

Commit a0b6bc6

Browse files
Christoph Lameterhtejun
authored andcommitted
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>
1 parent 4a32fea commit a0b6bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ext4/mballoc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4129,7 +4129,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac)
41294129
* per cpu locality group is to reduce the contention between block
41304130
* request from multiple CPUs.
41314131
*/
4132-
ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups);
4132+
ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
41334133

41344134
/* we're going to use group allocation */
41354135
ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;

0 commit comments

Comments
 (0)