patch-2.4.19 linux-2.4.19/arch/sparc64/kernel/sys_sparc.c
Next file: linux-2.4.19/arch/sparc64/kernel/sys_sparc32.c
Previous file: linux-2.4.19/arch/sparc64/kernel/sparc64_ksyms.c
Back to the patch index
Back to the overall index
-  Lines: 27
 -  Date:
Fri Aug  2 17:39:43 2002
 -  Orig file: 
linux-2.4.18/arch/sparc64/kernel/sys_sparc.c
 -  Orig date: 
Mon Feb 25 11:37:56 2002
 
diff -urN linux-2.4.18/arch/sparc64/kernel/sys_sparc.c linux-2.4.19/arch/sparc64/kernel/sys_sparc.c
@@ -380,7 +380,7 @@
 asmlinkage unsigned long
 c_sys_nis_syscall (struct pt_regs *regs)
 {
-	static int count=0;
+	static int count;
 	
 	/* Don't make the system unusable, if someone goes stuck */
 	if (count++ > 5)
@@ -450,7 +450,7 @@
 
 asmlinkage int solaris_syscall(struct pt_regs *regs)
 {
-	static int count = 0;
+	static int count;
 
 	regs->tpc = regs->tnpc;
 	regs->tnpc += 4;
@@ -470,7 +470,7 @@
 #ifndef CONFIG_SUNOS_EMUL
 asmlinkage int sunos_syscall(struct pt_regs *regs)
 {
-	static int count = 0;
+	static int count;
 
 	regs->tpc = regs->tnpc;
 	regs->tnpc += 4;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)