mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-11 15:38:07 +09:00
Commitabb2ea7dfd("compiler, clang: suppress warning for unused static inline functions") just caused more warnings due to re-defining the 'inline' macro. So undef it before re-defining it, and also add the 'notrace' attribute like the gcc version that this is overriding does. Maybe this makes clang happier. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit6d53cefb18) Signed-off-by: Greg Hackmann <ghackmann@google.com> Change-Id: Ie01b45583954c6104c854a3810e35c1171764e78