diff options
Diffstat (limited to 'include/asm-x86/signal.h')
-rw-r--r-- | include/asm-x86/signal.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/asm-x86/signal.h b/include/asm-x86/signal.h index 987a422a2c78..aee7eca585ab 100644 --- a/include/asm-x86/signal.h +++ b/include/asm-x86/signal.h | |||
@@ -245,21 +245,14 @@ static __inline__ int sigfindinword(unsigned long word) | |||
245 | 245 | ||
246 | struct pt_regs; | 246 | struct pt_regs; |
247 | 247 | ||
248 | #define ptrace_signal_deliver(regs, cookie) \ | ||
249 | do { \ | ||
250 | if (current->ptrace & PT_DTRACE) { \ | ||
251 | current->ptrace &= ~PT_DTRACE; \ | ||
252 | (regs)->eflags &= ~TF_MASK; \ | ||
253 | } \ | ||
254 | } while (0) | ||
255 | |||
256 | #else /* __i386__ */ | 248 | #else /* __i386__ */ |
257 | 249 | ||
258 | #undef __HAVE_ARCH_SIG_BITOPS | 250 | #undef __HAVE_ARCH_SIG_BITOPS |
259 | 251 | ||
252 | #endif /* !__i386__ */ | ||
253 | |||
260 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) | 254 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) |
261 | 255 | ||
262 | #endif /* !__i386__ */ | ||
263 | #endif /* __KERNEL__ */ | 256 | #endif /* __KERNEL__ */ |
264 | #endif /* __ASSEMBLY__ */ | 257 | #endif /* __ASSEMBLY__ */ |
265 | 258 | ||