summaryrefslogtreecommitdiff
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-25 17:36:02 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-25 17:36:02 +0100
commit456ba5a7802e58eccb5aa9751b3ab515ef99b9ca (patch)
tree4ca4dd3726b34dead51af13b67475af7bf857893 /mm/compaction.c
parent05304949332c6d2c7b50f2d0f666a52369f09ced (diff)
parent79748cdb39dbf914bc5f26c75cfd5f91d84d82c9 (diff)
Merge remote-tracking branches 'asoc/fix/ux500' and 'asoc/fix/wm8994' into for-3.7
Diffstat (limited to 'mm/compaction.c')
-rw-r--r--mm/compaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/compaction.c b/mm/compaction.c
index 2c4ce17651d8..9eef55838fca 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -346,7 +346,7 @@ static unsigned long isolate_freepages_block(struct compact_control *cc,
* pages requested were isolated. If there were any failures, 0 is
* returned and CMA will fail.
*/
- if (strict && nr_strict_required != total_isolated)
+ if (strict && nr_strict_required > total_isolated)
total_isolated = 0;
if (locked)