diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-04-08 07:42:03 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-08 07:42:03 +0400 |
commit | 2125b8a44d771351fc44719ed291be70b73672ad (patch) | |
tree | 25bc53a1f04143baf8e1fb50dc08c13213d3d407 /drivers/gpu | |
parent | 4cdc840a371bbaf635b1d47bd8bf67a0b804538e (diff) | |
download | linux-2125b8a44d771351fc44719ed291be70b73672ad.tar.xz |
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')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc.c | 1 |
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> |