aboutsummaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-01-22 16:49:20 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-01-22 16:49:57 +0700
commit8a65ee9a2f9055ebc72e3a34206255129e3afb09 (patch)
tree6cc78596a50734f52be0050972b2df36a5ea3be3 /mm/compaction.c
parenteedcf0c3ff0ab70b3a3a2ae7d73dcf334ea3c34e (diff)
parentd4184347012fbe705671037a4a0e4c7021ea4329 (diff)
downloadkernel_samsung_aries-8a65ee9a2f9055ebc72e3a34206255129e3afb09.zip
kernel_samsung_aries-8a65ee9a2f9055ebc72e3a34206255129e3afb09.tar.gz
kernel_samsung_aries-8a65ee9a2f9055ebc72e3a34206255129e3afb09.tar.bz2
Merge 3.0.60
Change-Id: I00b211aba537823b54ad68971ebb9032a6bf78f7
Diffstat (limited to 'mm/compaction.c')
-rw-r--r--mm/compaction.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mm/compaction.c b/mm/compaction.c
index 88d55f4..76c79dc 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -729,14 +729,12 @@ static int compact_node(int nid)
}
/* Compact all nodes in the system */
-static int compact_nodes(void)
+static void compact_nodes(void)
{
int nid;
for_each_online_node(nid)
compact_node(nid);
-
- return COMPACT_COMPLETE;
}
/* The written value is actually unused, all memory is compacted */
@@ -747,7 +745,7 @@ int sysctl_compaction_handler(struct ctl_table *table, int write,
void __user *buffer, size_t *length, loff_t *ppos)
{
if (write)
- return compact_nodes();
+ compact_nodes();
return 0;
}