From: Christoph Lameter <cl@linux.com>
To: axboe@kernel.dk
Cc: linux-kernel@vger.kernel.org, Tejun Heo <htejun@gmail.com>
Subject: block: Replace __this_cpu_ptr with raw_cpu_ptr
Date: Tue, 15 Apr 2014 12:38:05 -0500 (CDT) [thread overview]
Message-ID: <alpine.DEB.2.10.1404151236390.27497@gentwo.org> (raw)
__this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
introduced in 3.15-rc1.
Signed-off-by: Christoph Lameter <cl@linux.com>
Index: linux/fs/ext4/mballoc.c
===================================================================
--- linux.orig/fs/ext4/mballoc.c 2014-04-14 13:24:55.153354620 -0500
+++ linux/fs/ext4/mballoc.c 2014-04-14 13:24:55.149354698 -0500
@@ -4091,7 +4091,7 @@
* per cpu locality group is to reduce the contention between block
* request from multiple CPUs.
*/
- ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups);
+ ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
/* we're going to use group allocation */
ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;
next reply other threads:[~2014-04-15 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-15 17:38 Christoph Lameter [this message]
2014-04-15 18:20 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.10.1404151236390.27497@gentwo.org \
--to=cl@linux.com \
--cc=axboe@kernel.dk \
--cc=htejun@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®