From: Christoph Lameter Date: Tue, 3 Dec 2013 23:32:53 +0000 (-0600) Subject: block: Replace __this_cpu_ptr with raw_cpu_ptr X-Git-Tag: upstream/snapshot3+hdmi~3520^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca6673b02e26356bcb3b86e074eaa59cfa51114b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git block: Replace __this_cpu_ptr with raw_cpu_ptr __this_cpu_ptr is being phased out. Cc: Jens Axboe Signed-off-by: Christoph Lameter Signed-off-by: Jens Axboe --- diff --git a/fs/buffer.c b/fs/buffer.c index 1c04ec6..651dba1 100644 --- a/fs/buffer.c +++ b/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();