[PATCH 13/35] [PATCH 13/36] md: Replace __this_cpu_ptr with raw_cpu_ptr

Christoph Lameter
2014-08-17T17:37:00Z

[-- Attachment #1: 0013-md-Replace-__this_cpu_ptr-with-raw_cpu_ptr.patch --]
[-- Type: text/plain, Size: 746 bytes --]

__this_cpu_ptr is being phased out.

Signed-off-by: Christoph Lameter <cl@linux.com>
---
drivers/md/dm-stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/drivers/md/dm-stats.c
===================================================================
--- linux.orig/drivers/md/dm-stats.c
+++ linux/drivers/md/dm-stats.c
@@ -548,7 +548,7 @@ void dm_stats_account_io(struct dm_stats
* 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)) ==