sna/trapezoids: Add another inline hint

cell_list_alloc() is only called from one place, and the compiler should
already be inlining it - but does not appear to be. Hint harder.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-12-15 18:59:53 +00:00
parent 2a21c8b351
commit fde25b0892
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ cell_list_reset(struct cell_list *cells)
pool_reset(cells->cell_pool.base);
}
static struct cell *
inline static struct cell *
cell_list_alloc(struct cell_list *cells,
struct cell *tail,
int x)