aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-05-23 20:34:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-05-23 20:34:36 +0000
commit8969f4df1a526aa60dd0bc1c4736cf02104d4a05 (patch)
treea8a9df3d73ec1bf6506b9145b29a7a41423165b1
parentf1d4d4beaf35988f3acf1b204cc97e71c1e35ef2 (diff)
downloadglibc-8969f4df1a526aa60dd0bc1c4736cf02104d4a05.tar.xz
glibc-8969f4df1a526aa60dd0bc1c4736cf02104d4a05.zip
Define RLIMIT_RTTIME for MIPS.
-rw-r--r--ChangeLog.mips5
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/resource.h10
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index bcc2c18b60..d0a2b4a7b9 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,8 @@
+2011-05-23 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
+ Add.
+
2011-05-13 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/dl-lookup.c: Update from generic version.
diff --git a/sysdeps/unix/sysv/linux/mips/bits/resource.h b/sysdeps/unix/sysv/linux/mips/bits/resource.h
index a6454c4849..f64e9c09a2 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/resource.h
@@ -1,6 +1,6 @@
/* Bit values & structures for resource limits. Linux/MIPS version.
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006, 2008,
- 2009, 2010 Free Software Foundation, Inc.
+ 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -100,7 +100,13 @@ enum __rlimit_resource
__RLIMIT_RTPRIO = 14,
#define RLIMIT_RTPRIO __RLIMIT_RTPRIO
- __RLIMIT_NLIMITS = 15,
+ /* Maximum CPU time in µs that a process scheduled under a real-time
+ scheduling policy may consume without making a blocking system
+ call before being forcibly descheduled. */
+ __RLIMIT_RTTIME = 15,
+#define RLIMIT_RTTIME __RLIMIT_RTTIME
+
+ __RLIMIT_NLIMITS = 16,
__RLIM_NLIMITS = __RLIMIT_NLIMITS
#define RLIMIT_NLIMITS __RLIMIT_NLIMITS
#define RLIM_NLIMITS __RLIM_NLIMITS