summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/ptrace.h
blob: 0b471421180ebf6ba8f4e67ea6717f7e6632d6fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __ASM_ARM_PTRACE_H
#define __ASM_ARM_PTRACE_H

#include <asm/proc/ptrace.h>

#ifndef __ASSEMBLY__
#define pc_pointer(v) \
	((v) & ~PCMASK)

#define instruction_pointer(regs) \
	(pc_pointer((regs)->ARM_pc))

#ifdef __KERNEL__
extern void show_regs(struct pt_regs *);
#endif

#endif /* __ASSEMBLY__ */

#endif