projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d30726
)
block: Replace __this_cpu_ptr with raw_cpu_ptr
author
Christoph Lameter
<cl@linux.com>
Tue, 3 Dec 2013 23:32:53 +0000
(17:32 -0600)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/fs/buffer.c
b/fs/buffer.c
index 1c04ec66974e0329e57d09f85f597632b3b9a26d..651dba10b9c2b5468af528ad3114166b90d8c067 100644
(file)
--- 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();