drm/ttm: using kmalloc/kfree requires including slab.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Apr 2010 03:42:03 +0000 (13:42 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Apr 2010 03:42:03 +0000 (13:42 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c

index 2ad2dc9..0d9a42c 100644 (file)
@@ -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>