mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Restore __attribute_const__ to user-visibility in linux/compiler.h...for now
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
4f79c3ffc6
commit
423bc7b22b
1 changed files with 10 additions and 9 deletions
|
@ -128,6 +128,16 @@ extern void __chk_io_ptr(void __iomem *);
|
||||||
# define __attribute_pure__ /* unimplemented */
|
# define __attribute_pure__ /* unimplemented */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef noinline
|
||||||
|
#define noinline
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __always_inline
|
||||||
|
#define __always_inline inline
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* From the GCC manual:
|
* From the GCC manual:
|
||||||
*
|
*
|
||||||
|
@ -146,13 +156,4 @@ extern void __chk_io_ptr(void __iomem *);
|
||||||
# define __attribute_const__ /* unimplemented */
|
# define __attribute_const__ /* unimplemented */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef noinline
|
|
||||||
#define noinline
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __always_inline
|
|
||||||
#define __always_inline inline
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
|
||||||
#endif /* __LINUX_COMPILER_H */
|
#endif /* __LINUX_COMPILER_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue