aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/compiler.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 1234be9024a2..9b4f11094937 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -128,6 +128,16 @@ extern void __chk_io_ptr(void __iomem *);
128# define __attribute_pure__ /* unimplemented */ 128# define __attribute_pure__ /* unimplemented */
129#endif 129#endif
130 130
131#ifndef noinline
132#define noinline
133#endif
134
135#ifndef __always_inline
136#define __always_inline inline
137#endif
138
139#endif /* __KERNEL__ */
140
131/* 141/*
132 * From the GCC manual: 142 * From the GCC manual:
133 * 143 *
@@ -146,13 +156,4 @@ extern void __chk_io_ptr(void __iomem *);
146# define __attribute_const__ /* unimplemented */ 156# define __attribute_const__ /* unimplemented */
147#endif 157#endif
148 158
149#ifndef noinline
150#define noinline
151#endif
152
153#ifndef __always_inline
154#define __always_inline inline
155#endif
156
157#endif /* __KERNEL__ */
158#endif /* __LINUX_COMPILER_H */ 159#endif /* __LINUX_COMPILER_H */