--david
===== kernel/sys.c 1.47 vs edited =====
--- 1.47/kernel/sys.c Thu Jun 12 15:53:14 2003
+++ edited/kernel/sys.c Mon Jun 23 16:01:39 2003
@@ -5,6 +5,7 @@
*/
#include <linux/config.h>
+#include <linux/compat.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/utsname.h>
@@ -1219,7 +1220,7 @@
? -EFAULT : 0;
}
-#if !defined(__ia64__) && !defined(CONFIG_V850)
+#if defined(COMPAT_RLIM_OLD_INFINITY) || !(defined(CONFIG_IA64) || defined(CONFIG_V850))
/*
* Back compatibility for getrlimit. Needed for some apps.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/