Messages in this thread Patch in this message | | | From | Mike Frysinger <> | Subject | [PATCH 2/5] Blackfin: convert to asm-generic ptrace.h | Date | Thu, 14 Apr 2011 02:01:32 -0400 |
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- arch/blackfin/include/asm/ptrace.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/blackfin/include/asm/ptrace.h b/arch/blackfin/include/asm/ptrace.h index 681a92c..10d8641 100644 --- a/arch/blackfin/include/asm/ptrace.h +++ b/arch/blackfin/include/asm/ptrace.h @@ -102,9 +102,6 @@ struct pt_regs { /* user_mode returns true if only one bit is set in IPEND, other than the master interrupt enable. */ #define user_mode(regs) (!(((regs)->ipend & ~0x10) & (((regs)->ipend & ~0x10) - 1))) -#define instruction_pointer(regs) ((regs)->pc) -#define user_stack_pointer(regs) ((regs)->usp) -#define profile_pc(regs) instruction_pointer(regs) #define arch_has_single_step() (1) /* common code demands this function */ @@ -127,6 +124,8 @@ extern int is_user_addr_valid(struct task_struct *child, ((unsigned long)task_stack_page(task) + \ (THREAD_SIZE - sizeof(struct pt_regs))) +#include <asm-generic/ptrace.h> + #endif /* __KERNEL__ */ #endif /* __ASSEMBLY__ */ -- 1.7.5.rc1
| |