aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-03 19:41:02 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-03 19:41:02 -0400
commit423bc7b22bdeb73efeabfcf91d8a459ac33088f1 (patch)
tree511017422848fd9b6164379b10c44f020d5a51a2
parent4f79c3ffc6e04623711e86cf9a0e09e4aad8cb36 (diff)
Restore __attribute_const__ to user-visibility in linux/compiler.h...for now
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-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 */