patch-2.3.43 linux/kernel/sys.c

Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/softirq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/kernel/sys.c linux/kernel/sys.c
@@ -901,6 +901,8 @@
 			? -EFAULT : 0;
 }
 
+#if !defined(__ia64__)
+
 /*
  *	Back compatibility for getrlimit. Needed for some apps.
  */
@@ -919,6 +921,7 @@
 	return copy_to_user(rlim, &x, sizeof(x))?-EFAULT:0;
 }
 
+#endif
 
 asmlinkage long sys_setrlimit(unsigned int resource, struct rlimit *rlim)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)