提交 423bc7b2 编写于 作者: D David Woodhouse

Restore __attribute_const__ to user-visibility in linux/compiler.h...for now

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 4f79c3ff
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册