patch-2.4.20 linux-2.4.20/arch/mips/kernel/sysirix.c
Next file: linux-2.4.20/arch/mips/kernel/sysmips.c
Previous file: linux-2.4.20/arch/mips/kernel/syscalls.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/kernel/sysirix.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/kernel/sysirix.c linux-2.4.20/arch/mips/kernel/sysirix.c
@@ -109,7 +109,7 @@
if (error)
error = (task->run_list.next != NULL);
read_unlock(&tasklist_lock);
- /* Can _your_ OS find this out that fast? */
+ /* Can _your_ OS find this out that fast? */
break;
}
@@ -332,7 +332,7 @@
current->comm, current->pid, name, value, retval);
/* if (retval == PROM_ENOENT)
retval = -ENOENT; */
- break;
+ break;
}
#endif
@@ -505,7 +505,7 @@
}
break;
}
-
+
default:
printk("irix_syssgi: Unsupported command %d\n", (int)cmd);
retval = -EINVAL;
@@ -1071,7 +1071,7 @@
if (flags & IRIX_MAP_AUTOGROW) {
unsigned long old_pos;
long max_size = offset + len;
-
+
if (max_size > file->f_dentry->d_inode->i_size) {
old_pos = sys_lseek (fd, max_size - 1, 0);
sys_write (fd, "", 1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)