patch-1.3.15 linux/kernel/sched.c

Next file: linux/lib/vsprintf.c
Previous file: linux/kernel/module.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/kernel/sched.c linux/kernel/sched.c
@@ -713,7 +713,7 @@
 	sti();
 }
 
-asmlinkage int sys_alarm(long seconds)
+asmlinkage unsigned int sys_alarm(unsigned int seconds)
 {
 	struct itimerval it_new, it_old;
 
@@ -772,7 +772,7 @@
 static void show_task(int nr,struct task_struct * p)
 {
 	unsigned long free;
-	static char * stat_nam[] = { "R", "S", "D", "Z", "T", "W" };
+	static const char * stat_nam[] = { "R", "S", "D", "Z", "T", "W" };
 
 	printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr);
 	if (((unsigned) p->state) < sizeof(stat_nam)/sizeof(char *))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this