Commit 1f125e76 authored by Christoph Lameter's avatar Christoph Lameter Committed by Tejun Heo

md: Replace __this_cpu_ptr with raw_cpu_ptr

__this_cpu_ptr is being phased out.
Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 903ceff7
...@@ -548,7 +548,7 @@ void dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw, ...@@ -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 * A race condition can at worst result in the merged flag being
* misrepresented, so we don't have to disable preemption here. * 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 = stats_aux->merged =
(bi_sector == (ACCESS_ONCE(last->last_sector) && (bi_sector == (ACCESS_ONCE(last->last_sector) &&
((bi_rw & (REQ_WRITE | REQ_DISCARD)) == ((bi_rw & (REQ_WRITE | REQ_DISCARD)) ==
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment