瀏覽代碼

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>
Stephen Rothwell 15 年之前
父節點
當前提交
2125b8a44d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/gpu/drm/ttm/ttm_page_alloc.c

+ 1 - 0
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>