]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Restore __attribute_const__ to user-visibility in linux/compiler.h...for now
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 3 May 2006 23:41:02 +0000 (00:41 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 3 May 2006 23:41:02 +0000 (00:41 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/compiler.h

index 1234be9024a2617fecb981be9d1bfdae2fcdcf1c..9b4f110949375c78b8fa1db830009e64ab3fbf73 100644 (file)
@@ -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 */