Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca6673b0 authored by Christoph Lameter's avatar Christoph Lameter Committed by Jens Axboe
Browse files

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: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8d307269
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();