Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Lameter and committed by
Jens Axboe
ca6673b0 8d307269

+1 -1
+1 -1
fs/buffer.c
··· 1312 1312 } 1313 1313 while (out < BH_LRU_SIZE) 1314 1314 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)); 1316 1316 } 1317 1317 bh_lru_unlock(); 1318 1318