patch-2.2.18 linux/include/asm-s390/ptrace.h

Next file: linux/include/asm-s390/s390-regs-common.h
Previous file: linux/include/asm-s390/processor.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-s390/ptrace.h linux/include/asm-s390/ptrace.h
@@ -145,12 +145,8 @@
 #ifdef __KERNEL__
 #define user_mode(regs) ((regs)->psw.mask & PSW_PROBLEM_STATE)
 #define instruction_pointer(regs) ((regs)->psw.addr)
-
-struct thread_struct;
-extern int sprintf_regs(int line,char *buff,struct task_struct * task,
-			struct thread_struct *tss,struct pt_regs * regs);
-extern void show_regs(struct task_struct * task,struct thread_struct *tss,
-		      struct pt_regs * regs);
+extern void show_regs(struct pt_regs * regs);
+extern char *task_show_regs(struct task_struct *task, char *buffer);
 #endif
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)