Skip to content

Commit

Permalink
Restore __attribute_const__ to user-visibility in linux/compiler.h...…
Browse files Browse the repository at this point in the history
…for now

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed May 3, 2006
1 parent 4f79c3f commit 423bc7b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions include/linux/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*
Expand All @@ -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 */

0 comments on commit 423bc7b

Please sign in to comment.