From: David Woodhouse Date: Wed, 3 May 2006 23:41:02 +0000 (+0100) Subject: Restore __attribute_const__ to user-visibility in linux/compiler.h...for now X-Git-Tag: v2.6.18-rc1~1103^2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=423bc7b22bdeb73efeabfcf91d8a459ac33088f1;p=linux-2.6-omap-h63xx.git Restore __attribute_const__ to user-visibility in linux/compiler.h...for now Signed-off-by: David Woodhouse --- diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 1234be9024a..9b4f1109493 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 */