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

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)