summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-04-08 13:42:03 +1000
committerDave Airlie <airlied@redhat.com>2010-04-08 13:42:03 +1000
commit2125b8a44d771351fc44719ed291be70b73672ad (patch)
tree25bc53a1f04143baf8e1fb50dc08c13213d3d407 /drivers/gpu/drm/ttm
parent4cdc840a371bbaf635b1d47bd8bf67a0b804538e (diff)
downloadblackbird-op-linux-2125b8a44d771351fc44719ed291be70b73672ad.tar.gz
blackbird-op-linux-2125b8a44d771351fc44719ed291be70b73672ad.zip
drm/ttm: using kmalloc/kfree requires including slab.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r--drivers/gpu/drm/ttm/ttm_page_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c
index 2ad2dc9d3692..0d9a42c2394f 100644
--- a/drivers/gpu/drm/ttm/ttm_page_alloc.c
+++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c
@@ -37,6 +37,7 @@
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/seq_file.h> /* for seq_printf */
+#include <linux/slab.h>
#include <asm/atomic.h>
#include <asm/agp.h>
OpenPOWER on IntegriCloud