summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2013-12-04 00:32:53 +0100
committerJens Axboe <axboe@kernel.dk>2013-12-04 03:19:41 +0100
commitca6673b02e26356bcb3b86e074eaa59cfa51114b (patch)
treec4b8d77961776dd16ab224fe7af3013e346650be /fs/buffer.c
parentdm cache: increment bi_remaining when bi_end_io is restored (diff)
downloadlinux-ca6673b02e26356bcb3b86e074eaa59cfa51114b.tar.xz
linux-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();