projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903ceff
)
md: Replace __this_cpu_ptr with raw_cpu_ptr
author
Christoph Lameter
<cl@linux.com>
Sun, 17 Aug 2014 17:30:36 +0000
(12:30 -0500)
committer
Tejun Heo
<tj@kernel.org>
Tue, 26 Aug 2014 17:45:47 +0000
(13:45 -0400)
__this_cpu_ptr is being phased out.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/md/dm-stats.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-stats.c
b/drivers/md/dm-stats.c
index 28a90122a5a89272f5873ed0911d2de19125c15b..87f86c77b0940256aff09a4e26de8805d52b9dde 100644
(file)
--- a/
drivers/md/dm-stats.c
+++ b/
drivers/md/dm-stats.c
@@
-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)) ==