diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-03 23:41:02 (GMT) |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-03 23:41:02 (GMT) |
commit | 423bc7b22bdeb73efeabfcf91d8a459ac33088f1 (patch) | |
tree | 511017422848fd9b6164379b10c44f020d5a51a2 | |
parent | 4f79c3ffc6e04623711e86cf9a0e09e4aad8cb36 (diff) | |
download | linux-fsl-qoriq-423bc7b22bdeb73efeabfcf91d8a459ac33088f1.tar.xz |
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.h | 19 |
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 */ |