]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
md: replace __this_cpu_ptr with raw_cpu_ptr
authorChristoph Lameter <cl@linux.com>
Thu, 6 Mar 2014 00:05:26 +0000 (11:05 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Mar 2014 07:13:46 +0000 (18:13 +1100)
__this_cpu_ptr is being phased out.

Signed-off-by: Christoph Lameter <cl@linux.com>
Cc: Neil Brown <neilb@suse.de>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/md/dm-stats.c

index 28a90122a5a89272f5873ed0911d2de19125c15b..87f86c77b0940256aff09a4e26de8805d52b9dde 100644 (file)
@@ -548,7 +548,7 @@ void dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw,
                 * A race condition can at worst result in the merged flag being
                 * misrepresented, so we don't have to disable preemption here.
                 */
-               last = __this_cpu_ptr(stats->last);
+               last = raw_cpu_ptr(stats->last);
                stats_aux->merged =
                        (bi_sector == (ACCESS_ONCE(last->last_sector) &&
                                       ((bi_rw & (REQ_WRITE | REQ_DISCARD)) ==