Subject: 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.

Signed-off-by: Christoph Lameter <[email protected]>

Index: linux/fs/ext4/mballoc.c
===================================================================
--- linux.orig/fs/ext4/mballoc.c 2014-04-14 13:24:55.153354620 -0500
+++ linux/fs/ext4/mballoc.c 2014-04-14 13:24:55.149354698 -0500
@@ -4091,7 +4091,7 @@
* 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;


2014-04-15 18:20:45

by Tejun Heo

[permalink] [raw]
Subject: Re: block: Replace __this_cpu_ptr with raw_cpu_ptr

On Tue, Apr 15, 2014 at 12:38:05PM -0500, Christoph Lameter wrote:
> __this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
> introduced in 3.15-rc1.
>
> Signed-off-by: Christoph Lameter <[email protected]>

Acked-by: Tejun Heo <[email protected]>

--
tejun