Skip to content

Commit ca6673b

Browse files
Christoph Lameteraxboe
authored andcommitted
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>
1 parent 8d30726 commit ca6673b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/buffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ static void bh_lru_install(struct buffer_head *bh)
13121312
}
13131313
while (out < BH_LRU_SIZE)
13141314
bhs[out++] = NULL;
1315-
memcpy(__this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs));
1315+
memcpy(this_cpu_ptr(&bh_lrus.bhs), bhs, sizeof(bhs));
13161316
}
13171317
bh_lru_unlock();
13181318

0 commit comments

Comments
 (0)