mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
Compiler Attributes: KENTRY used twice the "used" attribute
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # on top of v4.19-rc5, clang 7 Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
This commit is contained in:
parent
a3f8a30f3f
commit
06e3727e02
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
|
||||||
extern typeof(sym) sym; \
|
extern typeof(sym) sym; \
|
||||||
static const unsigned long __kentry_##sym \
|
static const unsigned long __kentry_##sym \
|
||||||
__used \
|
__used \
|
||||||
__attribute__((__section__("___kentry" "+" #sym ), used)) \
|
__attribute__((__section__("___kentry" "+" #sym ))) \
|
||||||
= (unsigned long)&sym;
|
= (unsigned long)&sym;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue