Title: [9840] trunk/arch/blackfin/include/asm/ptrace.h: Blackfin: convert to asm-generic ptrace.h
- Revision
- 9840
- Author
- vapier
- Date
- 2011-04-14 21:10:10 -0400 (Thu, 14 Apr 2011)
Log Message
Blackfin: convert to asm-generic ptrace.h
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/ptrace.h (9839 => 9840)
--- trunk/arch/blackfin/include/asm/ptrace.h 2011-04-15 01:09:26 UTC (rev 9839)
+++ trunk/arch/blackfin/include/asm/ptrace.h 2011-04-15 01:10:10 UTC (rev 9840)
@@ -102,9 +102,6 @@
/* 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)
extern void user_enable_single_step(struct task_struct *child);
@@ -129,6 +126,8 @@
((unsigned long)task_stack_page(task) + \
(THREAD_SIZE - sizeof(struct pt_regs)))
+#include <asm-generic/ptrace.h>
+
#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits