]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/compiler.h
compiler.h: introduce __section()
[linux-2.6-omap-h63xx.git] / include / linux / compiler.h
index c68b67b86ef1d5cccbed6f7f76f5a94c5a692c80..e0114a61268ffedd91e5d9fb23fcbd7b41b56382 100644 (file)
@@ -175,4 +175,9 @@ extern void __chk_io_ptr(const volatile void __iomem *);
 #define __cold
 #endif
 
+/* Simple shorthand for a section definition */
+#ifndef __section
+# define __section(S) __attribute__ ((__section__(#S)))
+#endif
+
 #endif /* __LINUX_COMPILER_H */