diff options
Diffstat (limited to 'include/asm-ia64/ptrace.h')
-rw-r--r-- | include/asm-ia64/ptrace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ia64/ptrace.h b/include/asm-ia64/ptrace.h index f4ef87a36236..13435f778b0c 100644 --- a/include/asm-ia64/ptrace.h +++ b/include/asm-ia64/ptrace.h | |||
@@ -292,6 +292,7 @@ struct switch_stack { | |||
292 | unsigned long, long); | 292 | unsigned long, long); |
293 | extern void ia64_flush_fph (struct task_struct *); | 293 | extern void ia64_flush_fph (struct task_struct *); |
294 | extern void ia64_sync_fph (struct task_struct *); | 294 | extern void ia64_sync_fph (struct task_struct *); |
295 | extern void ia64_sync_krbs(void); | ||
295 | extern long ia64_sync_user_rbs (struct task_struct *, struct switch_stack *, | 296 | extern long ia64_sync_user_rbs (struct task_struct *, struct switch_stack *, |
296 | unsigned long, unsigned long); | 297 | unsigned long, unsigned long); |
297 | 298 | ||
@@ -303,6 +304,12 @@ struct switch_stack { | |||
303 | extern void ia64_increment_ip (struct pt_regs *pt); | 304 | extern void ia64_increment_ip (struct pt_regs *pt); |
304 | extern void ia64_decrement_ip (struct pt_regs *pt); | 305 | extern void ia64_decrement_ip (struct pt_regs *pt); |
305 | 306 | ||
307 | extern void ia64_ptrace_stop(void); | ||
308 | #define arch_ptrace_stop(code, info) \ | ||
309 | ia64_ptrace_stop() | ||
310 | #define arch_ptrace_stop_needed(code, info) \ | ||
311 | (!test_thread_flag(TIF_RESTORE_RSE)) | ||
312 | |||
306 | #endif /* !__KERNEL__ */ | 313 | #endif /* !__KERNEL__ */ |
307 | 314 | ||
308 | /* pt_all_user_regs is used for PTRACE_GETREGS PTRACE_SETREGS */ | 315 | /* pt_all_user_regs is used for PTRACE_GETREGS PTRACE_SETREGS */ |