Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Blackfin: convert to asm-generic ptrace.h

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Mike Frysinger and committed by
Linus Torvalds
82258c66 edeafa74

+2 -3
+2 -3
arch/blackfin/include/asm/ptrace.h
··· 102 102 /* user_mode returns true if only one bit is set in IPEND, other than the 103 103 master interrupt enable. */ 104 104 #define user_mode(regs) (!(((regs)->ipend & ~0x10) & (((regs)->ipend & ~0x10) - 1))) 105 - #define instruction_pointer(regs) ((regs)->pc) 106 - #define user_stack_pointer(regs) ((regs)->usp) 107 - #define profile_pc(regs) instruction_pointer(regs) 108 105 extern void show_regs(struct pt_regs *); 109 106 110 107 #define arch_has_single_step() (1) ··· 124 127 (struct pt_regs *) \ 125 128 ((unsigned long)task_stack_page(task) + \ 126 129 (THREAD_SIZE - sizeof(struct pt_regs))) 130 + 131 + #include <asm-generic/ptrace.h> 127 132 128 133 #endif /* __KERNEL__ */ 129 134