From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756572Ab3LSQIr (ORCPT ); Thu, 19 Dec 2013 11:08:47 -0500 Received: from qmta14.emeryville.ca.mail.comcast.net ([76.96.27.212]:54441 "EHLO qmta14.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754387Ab3LSPui (ORCPT ); Thu, 19 Dec 2013 10:50:38 -0500 Message-Id: <20131219155033.400794105@linux.com> Date: Thu, 19 Dec 2013 09:50:40 -0600 From: Christoph Lameter To: Tejun Heo Cc: akpm@linuxfoundation.org, rostedt@goodmis.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Thomas Gleixner Subject: [PATCH 25/40] md: Replace __this_cpu_ptr with raw_cpu_ptr References: <20131219155015.443763038@linux.com> Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline; filename=this_drivers_md Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Patch depends on another patch in this series that introduces raw_cpu_ops] __this_cpu_ptr is being phased out. Signed-off-by: Christoph Lameter Index: linux/drivers/md/dm-stats.c =================================================================== --- linux.orig/drivers/md/dm-stats.c 2013-12-02 16:07:54.904491557 -0600 +++ linux/drivers/md/dm-stats.c 2013-12-02 16:07:54.904491557 -0600 @@ -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)) ==