patch-1.3.65 linux/arch/alpha/kernel/osf_sys.c

Next file: linux/arch/alpha/kernel/setup.c
Previous file: linux/arch/alpha/kernel/lca.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
@@ -125,6 +125,17 @@
 	return count - buf.count;
 }
 
+asmlinkage int osf_getpriority(int which, int who)
+{
+	extern int sys_getpriority(int, int);
+	/*
+	 * Alpha syscall convention has no problem returning negative
+	 * values:
+	 */
+	return 20 - sys_getpriority(which, who);
+}
+
+
 /*
  * Heh. As documented by DEC..
  */

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