aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c2
-rw-r--r--mm/page_alloc.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 533fa60c9ac1..7d9a4ef0a078 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -1664,7 +1664,7 @@ void throttle_vm_writeout(gfp_t gfp_mask)
1664/* 1664/*
1665 * sysctl handler for /proc/sys/vm/dirty_writeback_centisecs 1665 * sysctl handler for /proc/sys/vm/dirty_writeback_centisecs
1666 */ 1666 */
1667int dirty_writeback_centisecs_handler(ctl_table *table, int write, 1667int dirty_writeback_centisecs_handler(struct ctl_table *table, int write,
1668 void __user *buffer, size_t *length, loff_t *ppos) 1668 void __user *buffer, size_t *length, loff_t *ppos)
1669{ 1669{
1670 proc_dointvec(table, write, buffer, length, ppos); 1670 proc_dointvec(table, write, buffer, length, ppos);
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index a59bdb653958..4f59fa29eda8 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3389,7 +3389,7 @@ early_param("numa_zonelist_order", setup_numa_zonelist_order);
3389/* 3389/*
3390 * sysctl handler for numa_zonelist_order 3390 * sysctl handler for numa_zonelist_order
3391 */ 3391 */
3392int numa_zonelist_order_handler(ctl_table *table, int write, 3392int numa_zonelist_order_handler(struct ctl_table *table, int write,
3393 void __user *buffer, size_t *length, 3393 void __user *buffer, size_t *length,
3394 loff_t *ppos) 3394 loff_t *ppos)
3395{ 3395{
@@ -5805,7 +5805,7 @@ module_init(init_per_zone_wmark_min)
5805 * that we can call two helper functions whenever min_free_kbytes 5805 * that we can call two helper functions whenever min_free_kbytes
5806 * changes. 5806 * changes.
5807 */ 5807 */
5808int min_free_kbytes_sysctl_handler(ctl_table *table, int write, 5808int min_free_kbytes_sysctl_handler(struct ctl_table *table, int write,
5809 void __user *buffer, size_t *length, loff_t *ppos) 5809 void __user *buffer, size_t *length, loff_t *ppos)
5810{ 5810{
5811 int rc; 5811 int rc;
@@ -5822,7 +5822,7 @@ int min_free_kbytes_sysctl_handler(ctl_table *table, int write,
5822} 5822}
5823 5823
5824#ifdef CONFIG_NUMA 5824#ifdef CONFIG_NUMA
5825int sysctl_min_unmapped_ratio_sysctl_handler(ctl_table *table, int write, 5825int sysctl_min_unmapped_ratio_sysctl_handler(struct ctl_table *table, int write,
5826 void __user *buffer, size_t *length, loff_t *ppos) 5826 void __user *buffer, size_t *length, loff_t *ppos)
5827{ 5827{
5828 struct zone *zone; 5828 struct zone *zone;
@@ -5838,7 +5838,7 @@ int sysctl_min_unmapped_ratio_sysctl_handler(ctl_table *table, int write,
5838 return 0; 5838 return 0;
5839} 5839}
5840 5840
5841int sysctl_min_slab_ratio_sysctl_handler(ctl_table *table, int write, 5841int sysctl_min_slab_ratio_sysctl_handler(struct ctl_table *table, int write,
5842 void __user *buffer, size_t *length, loff_t *ppos) 5842 void __user *buffer, size_t *length, loff_t *ppos)
5843{ 5843{
5844 struct zone *zone; 5844 struct zone *zone;
@@ -5864,7 +5864,7 @@ int sysctl_min_slab_ratio_sysctl_handler(ctl_table *table, int write,
5864 * minimum watermarks. The lowmem reserve ratio can only make sense 5864 * minimum watermarks. The lowmem reserve ratio can only make sense
5865 * if in function of the boot time zone sizes. 5865 * if in function of the boot time zone sizes.
5866 */ 5866 */
5867int lowmem_reserve_ratio_sysctl_handler(ctl_table *table, int write, 5867int lowmem_reserve_ratio_sysctl_handler(struct ctl_table *table, int write,
5868 void __user *buffer, size_t *length, loff_t *ppos) 5868 void __user *buffer, size_t *length, loff_t *ppos)
5869{ 5869{
5870 proc_dointvec_minmax(table, write, buffer, length, ppos); 5870 proc_dointvec_minmax(table, write, buffer, length, ppos);
@@ -5877,7 +5877,7 @@ int lowmem_reserve_ratio_sysctl_handler(ctl_table *table, int write,
5877 * cpu. It is the fraction of total pages in each zone that a hot per cpu 5877 * cpu. It is the fraction of total pages in each zone that a hot per cpu
5878 * pagelist can have before it gets flushed back to buddy allocator. 5878 * pagelist can have before it gets flushed back to buddy allocator.
5879 */ 5879 */
5880int percpu_pagelist_fraction_sysctl_handler(ctl_table *table, int write, 5880int percpu_pagelist_fraction_sysctl_handler(struct ctl_table *table, int write,
5881 void __user *buffer, size_t *length, loff_t *ppos) 5881 void __user *buffer, size_t *length, loff_t *ppos)
5882{ 5882{
5883 struct zone *zone; 5883 struct zone *zone;