From fde25b08922d97ca0d4a69c654bf690edbd53b3d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 15 Dec 2012 18:59:53 +0000 Subject: [PATCH] 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 --- src/sna/sna_trapezoids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 289780bd..81ae9c41 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -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)