diff options
author | Tejun Heo <tj@kernel.org> | 2014-09-08 09:51:30 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-08 09:51:30 +0900 |
commit | 20ae00792c6f1f18fc4fc5965445a145df92827e (patch) | |
tree | 3ca91fac24ac0a672c105e766c4d5020e53be876 /mm/backing-dev.c | |
parent | 908c7f1949cb7cc6e92ba8f18f2998e87e265b8e (diff) | |
download | blackbird-op-linux-20ae00792c6f1f18fc4fc5965445a145df92827e.tar.gz blackbird-op-linux-20ae00792c6f1f18fc4fc5965445a145df92827e.zip |
proportions: add @gfp to init functions
Percpu allocator now supports allocation mask. Add @gfp to
[flex_]proportions init functions so that !GFP_KERNEL allocation masks
can be used with them too.
This patch doesn't make any functional difference.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'mm/backing-dev.c')
-rw-r--r-- | mm/backing-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index f19a818be2d3..64ec49d1772b 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -470,7 +470,7 @@ int bdi_init(struct backing_dev_info *bdi) bdi->write_bandwidth = INIT_BW; bdi->avg_write_bandwidth = INIT_BW; - err = fprop_local_init_percpu(&bdi->completions); + err = fprop_local_init_percpu(&bdi->completions, GFP_KERNEL); if (err) { err: |