diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2012-01-10 18:06:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:41 -0500 |
commit | 1edf223485c42c99655dcd001db1e46ad5e5d2d7 (patch) | |
tree | 33b93dc8f2a249806150b5792ac1787688bf6b74 /include/linux/writeback.h | |
parent | e4e11180dfa545233e5145919b75b7fac88638df (diff) |
mm/page-writeback.c: make determine_dirtyable_memory static again
The tracing ring-buffer used this function briefly, but not anymore.
Make it local to the writeback code again.
Also, move the function so that no forward declaration needs to be
reintroduced.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r-- | include/linux/writeback.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index a378c295851f..34a005515fef 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -138,8 +138,6 @@ extern int vm_highmem_is_dirtyable; | |||
138 | extern int block_dump; | 138 | extern int block_dump; |
139 | extern int laptop_mode; | 139 | extern int laptop_mode; |
140 | 140 | ||
141 | extern unsigned long determine_dirtyable_memory(void); | ||
142 | |||
143 | extern int dirty_background_ratio_handler(struct ctl_table *table, int write, | 141 | extern int dirty_background_ratio_handler(struct ctl_table *table, int write, |
144 | void __user *buffer, size_t *lenp, | 142 | void __user *buffer, size_t *lenp, |
145 | loff_t *ppos); | 143 | loff_t *ppos); |