diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-11-23 22:09:13 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-11-23 22:09:13 +1100 |
commit | c41f47121d8bf44b886ef2039779dab8c1e3a25f (patch) | |
tree | 98fa0962eeec797d266b5936122e52d96839c2ec /drivers/char/drm/drm_memory_debug.h | |
parent | bd07ed2b4d7071716c09895e19849e8b04991656 (diff) |
drm: add __GFP_COMP to the drm_alloc_pages
The DRM only uses drm_alloc_pages for non-SG PCI cards using DRM.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_memory_debug.h')
-rw-r--r-- | drivers/char/drm/drm_memory_debug.h | 2 |
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 4542353195b..b370aca718d 100644 --- a/drivers/char/drm/drm_memory_debug.h +++ b/drivers/char/drm/drm_memory_debug.h @@ -221,7 +221,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; |