Skip to content

Commit

Permalink
Compiler Attributes: KENTRY used twice the "used" attribute
Browse files Browse the repository at this point in the history
Tested-by: Sedat Dilek <[email protected]> # on top of v4.19-rc5, clang 7
Reviewed-by: Nick Desaulniers <[email protected]>
Reviewed-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
ojeda committed Sep 30, 2018
1 parent a3f8a30 commit 06e3727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
extern typeof(sym) sym; \
static const unsigned long __kentry_##sym \
__used \
__attribute__((__section__("___kentry" "+" #sym ), used)) \
__attribute__((__section__("___kentry" "+" #sym ))) \
= (unsigned long)&sym;
#endif

Expand Down

0 comments on commit 06e3727

Please sign in to comment.