summaryrefslogtreecommitdiff
path: root/drivers/char/drm/drm_memory_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_memory_debug.h')
-rw-r--r--drivers/char/drm/drm_memory_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_memory_debug.h b/drivers/char/drm/drm_memory_debug.h
index 706b75251ea1..e84605fc54af 100644
--- a/drivers/char/drm/drm_memory_debug.h
+++ b/drivers/char/drm/drm_memory_debug.h
@@ -220,7 +220,7 @@ unsigned long drm_alloc_pages (int order, int area) {
}
spin_unlock(&drm_mem_lock);
- address = __get_free_pages(GFP_KERNEL, order);
+ address = __get_free_pages(GFP_KERNEL|__GFP_COMP, order);
if (!address) {
spin_lock(&drm_mem_lock);
++drm_mem_stats[area].fail_count;