aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-04-07 23:42:03 -0400
committerDave Airlie <airlied@redhat.com>2010-04-07 23:42:03 -0400
commit2125b8a44d771351fc44719ed291be70b73672ad (patch)
tree25bc53a1f04143baf8e1fb50dc08c13213d3d407
parent4cdc840a371bbaf635b1d47bd8bf67a0b804538e (diff)
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>
-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 @@
37#include <linux/module.h> 37#include <linux/module.h>
38#include <linux/mm.h> 38#include <linux/mm.h>
39#include <linux/seq_file.h> /* for seq_printf */ 39#include <linux/seq_file.h> /* for seq_printf */
40#include <linux/slab.h>
40 41
41#include <asm/atomic.h> 42#include <asm/atomic.h>
42#include <asm/agp.h> 43#include <asm/agp.h>