“644c13a3874b565b7bcda9beab9e9bb271e4ba3e”上不存在“git@gitcode.net:paddlepaddle/PaddleDetection.git”
提交 c3e59d77 编写于 作者: N Naveen N. Rao 提交者: Michael Ellerman

powerpc64/ftrace: Rearrange #ifdef sections in ftrace.h

Re-arrange the last #ifdef section in preparation for a subsequent
change.
Signed-off-by: NNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 ea678ac6
......@@ -68,8 +68,8 @@ struct dyn_arch_ftrace {
#endif
#endif
#if defined(CONFIG_FTRACE_SYSCALLS) && !defined(__ASSEMBLY__)
#ifdef PPC64_ELF_ABI_v1
#ifndef __ASSEMBLY__
#if defined(CONFIG_FTRACE_SYSCALLS) && defined(PPC64_ELF_ABI_v1)
#define ARCH_HAS_SYSCALL_MATCH_SYM_NAME
static inline bool arch_syscall_match_sym_name(const char *sym, const char *name)
{
......@@ -81,7 +81,7 @@ static inline bool arch_syscall_match_sym_name(const char *sym, const char *name
*/
return !strcmp(sym + 4, name + 3);
}
#endif
#endif /* CONFIG_FTRACE_SYSCALLS && !__ASSEMBLY__ */
#endif /* CONFIG_FTRACE_SYSCALLS && PPC64_ELF_ABI_v1 */
#endif /* !__ASSEMBLY__ */
#endif /* _ASM_POWERPC_FTRACE */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册