summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2013-12-03 17:32:53 -0600
committerJens Axboe <axboe@kernel.dk>2013-12-03 19:19:41 -0700
commitca6673b02e26356bcb3b86e074eaa59cfa51114b (patch)
treec4b8d77961776dd16ab224fe7af3013e346650be /fs/buffer.c
parent8d30726912cb39c3a3ebde06214d54861f8fdde2 (diff)
downloadlinux-stable-ca6673b02e26356bcb3b86e074eaa59cfa51114b.tar.gz
linux-stable-ca6673b02e26356bcb3b86e074eaa59cfa51114b.tar.bz2
linux-stable-ca6673b02e26356bcb3b86e074eaa59cfa51114b.zip
block: Replace __this_cpu_ptr with raw_cpu_ptr
__this_cpu_ptr is being phased out. Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 1c04ec66974e..651dba10b9c2 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -1312,7 +1312,7 @@ static void bh_lru_install(struct buffer_head *bh)
}
while (out < BH_LRU_SIZE)
bhs[out++] = NULL;
- memcpy(__this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs));
+ memcpy(this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs));
}
bh_lru_unlock();