Skip to content

Commit

Permalink
drm/ttm: using kmalloc/kfree requires including slab.h
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Stephen Rothwell authored and Dave Airlie committed Apr 8, 2010
1 parent 4cdc840 commit 2125b8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/ttm/ttm_page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2125b8a

Please sign in to comment.