block: Replace __this_cpu_ptr with raw_cpu_ptr
authorChristoph Lameter <cl@linux.com>
Tue, 3 Dec 2013 23:32:53 +0000 (17:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Dec 2013 02:19:41 +0000 (19:19 -0700)
__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>
fs/buffer.c

index 1c04ec66974e0329e57d09f85f597632b3b9a26d..651dba10b9c2b5468af528ad3114166b90d8c067 100644 (file)
@@ -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();