Explorar o código

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>
Christoph Lameter %!s(int64=12) %!d(string=hai) anos
pai
achega
ca6673b02e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/buffer.c

+ 1 - 1
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();