diff options
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index c68b67b86ef1..e0114a61268f 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -175,4 +175,9 @@ extern void __chk_io_ptr(const volatile void __iomem *); | |||
175 | #define __cold | 175 | #define __cold |
176 | #endif | 176 | #endif |
177 | 177 | ||
178 | /* Simple shorthand for a section definition */ | ||
179 | #ifndef __section | ||
180 | # define __section(S) __attribute__ ((__section__(#S))) | ||
181 | #endif | ||
182 | |||
178 | #endif /* __LINUX_COMPILER_H */ | 183 | #endif /* __LINUX_COMPILER_H */ |