diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-04 00:41:02 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-04 00:41:02 +0100 |
commit | 423bc7b22bdeb73efeabfcf91d8a459ac33088f1 (patch) | |
tree | 511017422848fd9b6164379b10c44f020d5a51a2 /include | |
parent | 4f79c3ffc6e04623711e86cf9a0e09e4aad8cb36 (diff) | |
download | kernel-crypto-423bc7b22bdeb73efeabfcf91d8a459ac33088f1.tar.gz kernel-crypto-423bc7b22bdeb73efeabfcf91d8a459ac33088f1.tar.xz kernel-crypto-423bc7b22bdeb73efeabfcf91d8a459ac33088f1.zip |
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.h | 19 |
1 files changed, 10 insertions, 9 deletions
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 */ |