about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits/resource.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/resource.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/resource.h b/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
index d78dd584e2..bcddec0f48 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
@@ -1,4 +1,4 @@
-/* Bit values & structures for resource limits.  Linux version.
+/* Bit values & structures for resource limits.  Linux/PPC version.
    Copyright (C) 1994-99, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIMIT_NLIMITS = 10,
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIMIT_NLIMITS = 11,
   RLIM_NLIMITS = RLIMIT_NLIMITS
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS