patch-2.4.4 linux/fs/proc/array.c
Next file: linux/fs/proc/inode.c
Previous file: linux/fs/partitions/ibm.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Apr 6 10:51:19 2001
- Orig file:
v2.4.3/linux/fs/proc/array.c
- Orig date:
Mon Mar 19 12:34:55 2001
diff -u --recursive --new-file v2.4.3/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -273,9 +273,6 @@
{
char * orig = buffer;
struct mm_struct *mm;
-#if defined(CONFIG_ARCH_S390)
- int line,len;
-#endif
buffer = task_name(task, buffer);
buffer = task_state(task, buffer);
@@ -291,8 +288,7 @@
buffer = task_sig(task, buffer);
buffer = task_cap(task, buffer);
#if defined(CONFIG_ARCH_S390)
- for(line=0;(len=sprintf_regs(line,buffer,task,NULL,NULL))!=0;line++)
- buffer+=len;
+ buffer = task_show_regs(task, buffer);
#endif
return buffer - orig;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)