diff options
| author | 2011-05-24 00:06:26 -0700 | |
|---|---|---|
| committer | 2011-05-24 00:06:26 -0700 | |
| commit | b73077eb03f510a84b102fb97640e595a958403c (patch) | |
| tree | 8b639000418e2756bf6baece4e00e07d2534bccc /include/linux/compiler-gcc.h | |
| parent | Input: ads7846 - remove unused variable from struct ads7845_ser_req (diff) | |
| parent | Input: ADP5589 - new driver for I2C Keypad Decoder and I/O Expander (diff) | |
| download | wireguard-linux-b73077eb03f510a84b102fb97640e595a958403c.tar.xz wireguard-linux-b73077eb03f510a84b102fb97640e595a958403c.zip | |
Merge branch 'next' into for-linus
Diffstat (limited to 'include/linux/compiler-gcc.h')
| -rw-r--r-- | include/linux/compiler-gcc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 16508bcddacc..cb4c1eb7778e 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@ -92,3 +92,11 @@ #if !defined(__noclone) #define __noclone /* not needed */ #endif + +/* + * A trick to suppress uninitialized variable warning without generating any + * code + */ +#define uninitialized_var(x) x = x + +#define __always_inline inline __attribute__((always_inline)) |
