mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
md: Replace __this_cpu_ptr with raw_cpu_ptr
__this_cpu_ptr is being phased out. Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
903ceff7ca
commit
1f125e76f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) ==
|
||||
|
|
|
|||
Loading…
Reference in a new issue