__this_cpu_ptr is being phased out.
Signed-off-by: Christoph Lameter <[email protected]>
Index: linux/drivers/md/dm-stats.c
===================================================================
--- linux.orig/drivers/md/dm-stats.c 2014-06-16 15:40:37.491590719 -0500
+++ linux/drivers/md/dm-stats.c 2014-06-16 15:40:37.491590719 -0500
@@ -548,7 +548,7 @@
* 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)) ==
On Fri, Jun 20, 2014 at 02:31:27PM -0500, Christoph Lameter wrote:
> __this_cpu_ptr is being phased out.
>
> Signed-off-by: Christoph Lameter <[email protected]>
Applied to wq/for-3.17-consistent-ops. If this patch should be routed
differently, please holler.
Thanks.
--
tejun