1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/asm/ptrace.h>
14 #define user_mode(regs) (!((regs)->sr & PS_S))
15 #define instruction_pointer(regs) ((regs)->pc)
16 #define profile_pc(regs) instruction_pointer(regs)
17 #define current_pt_regs() \
18 (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1
19 #define current_user_stack_pointer() rdusp()
21 #define arch_has_single_step() (1)
24 #define arch_has_block_step() (1)
27 #endif /* __ASSEMBLY__ */
28 #endif /* _M68K_PTRACE_H */