Re: [PATCH x86/mm 06/11] x86 ptrace arch merge

Andrew Morton
2007-11-29T17:29:59Z

On Thu, 29 Nov 2007 04:00:14 -0800 (PST) Roland McGrath <roland@redhat.com> wrote:

> --- a/arch/x86/kernel/ptrace.c
> +++ b/arch/x86/kernel/ptrace.c
> @@ -461,12 +461,13 @@ static int ptrace_set_debugreg(struct task_struct *child,
> void ptrace_disable(struct task_struct *child)
> {
> user_disable_single_step(child);
> +#ifdef TIF_SYSCALL_EMU
> clear_tsk_thread_flag(child, TIF_SYSCALL_EMU);
> +#endif

Is TIF_SYSCALL_EMU ever undefined here?