diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-05 10:24:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-05 10:37:25 +0100 |
commit | 99df720216787c52d16a350dd25469e2dcea2c47 (patch) | |
tree | b89cb085b7681d661a3b03db851201d2398ae345 /src/sna/compiler.h | |
parent | 47d7da5a986a9f133cd3dc8314ff243001586a36 (diff) |
sna: Add inline keyword in conjunction with attribute(always_inline)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/compiler.h')
-rw-r--r-- | src/sna/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/compiler.h b/src/sna/compiler.h index 653435fa..ff80365e 100644 --- a/src/sna/compiler.h +++ b/src/sna/compiler.h @@ -32,7 +32,7 @@ #define likely(expr) (__builtin_expect (!!(expr), 1)) #define unlikely(expr) (__builtin_expect (!!(expr), 0)) #define noinline __attribute__((noinline)) -#define force_inline __attribute__((always_inline)) +#define force_inline inline __attribute__((always_inline)) #define fastcall __attribute__((regparm(3))) #define must_check __attribute__((warn_unused_result)) #define constant __attribute__((const)) |