aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/ptrace.h')
-rw-r--r--arch/m68k/include/asm/ptrace.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/ptrace.h b/arch/m68k/include/asm/ptrace.h
index 8c9194b98548..beb209195871 100644
--- a/arch/m68k/include/asm/ptrace.h
+++ b/arch/m68k/include/asm/ptrace.h
@@ -82,6 +82,18 @@ struct switch_stack {
82#define instruction_pointer(regs) ((regs)->pc) 82#define instruction_pointer(regs) ((regs)->pc)
83#define profile_pc(regs) instruction_pointer(regs) 83#define profile_pc(regs) instruction_pointer(regs)
84extern void show_regs(struct pt_regs *); 84extern void show_regs(struct pt_regs *);
85
86/*
87 * These are defined as per linux/ptrace.h.
88 */
89struct task_struct;
90
91#ifndef CONFIG_MMU
92#define arch_has_single_step() (1)
93extern void user_enable_single_step(struct task_struct *);
94extern void user_disable_single_step(struct task_struct *);
95#endif
96
85#endif /* __KERNEL__ */ 97#endif /* __KERNEL__ */
86#endif /* __ASSEMBLY__ */ 98#endif /* __ASSEMBLY__ */
87#endif /* _M68K_PTRACE_H */ 99#endif /* _M68K_PTRACE_H */