summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-04 00:41:02 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-04 00:41:02 +0100
commit423bc7b22bdeb73efeabfcf91d8a459ac33088f1 (patch)
tree511017422848fd9b6164379b10c44f020d5a51a2 /include
parent4f79c3ffc6e04623711e86cf9a0e09e4aad8cb36 (diff)
downloadop-kernel-dev-423bc7b22bdeb73efeabfcf91d8a459ac33088f1.zip
op-kernel-dev-423bc7b22bdeb73efeabfcf91d8a459ac33088f1.tar.gz
Restore __attribute_const__ to user-visibility in linux/compiler.h...for now
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include')
-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 1234be9..9b4f110 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -128,6 +128,16 @@ extern void __chk_io_ptr(void __iomem *);
# define __attribute_pure__ /* unimplemented */
#endif
+#ifndef noinline
+#define noinline
+#endif
+
+#ifndef __always_inline
+#define __always_inline inline
+#endif
+
+#endif /* __KERNEL__ */
+
/*
* From the GCC manual:
*
@@ -146,13 +156,4 @@ extern void __chk_io_ptr(void __iomem *);
# define __attribute_const__ /* unimplemented */
#endif
-#ifndef noinline
-#define noinline
-#endif
-
-#ifndef __always_inline
-#define __always_inline inline
-#endif
-
-#endif /* __KERNEL__ */
#endif /* __LINUX_COMPILER_H */
OpenPOWER on IntegriCloud