|
@@ -61,6 +61,7 @@ struct dyn_arch_ftrace {
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if defined(CONFIG_FTRACE_SYSCALLS) && defined(CONFIG_PPC64) && !defined(__ASSEMBLY__)
|
|
#if defined(CONFIG_FTRACE_SYSCALLS) && defined(CONFIG_PPC64) && !defined(__ASSEMBLY__)
|
|
|
|
+#if !defined(_CALL_ELF) || _CALL_ELF != 2
|
|
#define ARCH_HAS_SYSCALL_MATCH_SYM_NAME
|
|
#define ARCH_HAS_SYSCALL_MATCH_SYM_NAME
|
|
static inline bool arch_syscall_match_sym_name(const char *sym, const char *name)
|
|
static inline bool arch_syscall_match_sym_name(const char *sym, const char *name)
|
|
{
|
|
{
|
|
@@ -72,6 +73,7 @@ static inline bool arch_syscall_match_sym_name(const char *sym, const char *name
|
|
*/
|
|
*/
|
|
return !strcmp(sym + 4, name + 3);
|
|
return !strcmp(sym + 4, name + 3);
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
#endif /* CONFIG_FTRACE_SYSCALLS && CONFIG_PPC64 && !__ASSEMBLY__ */
|
|
#endif /* CONFIG_FTRACE_SYSCALLS && CONFIG_PPC64 && !__ASSEMBLY__ */
|
|
|
|
|
|
#endif /* _ASM_POWERPC_FTRACE */
|
|
#endif /* _ASM_POWERPC_FTRACE */
|