about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-18 00:43:17 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-18 00:43:17 +0000
commit8719e0fd50a2539f0c74083eab994308d9535028 (patch)
tree9782a98ba827c4e247e7e6d0ace4a645f5971d86 /sysdeps/unix/sysv/linux/kernel-features.h
parent7530e8f82862639ed3f391ea8cc8f2a34cdce326 (diff)
downloadglibc-8719e0fd50a2539f0c74083eab994308d9535028.tar.gz
glibc-8719e0fd50a2539f0c74083eab994308d9535028.tar.xz
glibc-8719e0fd50a2539f0c74083eab994308d9535028.zip
Update.
2000-09-17  H.J. Lu  <hjl@gnu.org>

	* catgets/Makefile ($(objpfx)de/libc.cat): Use
	$(make-target-directory) instead of mkdir.

2000-09-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/kernel-features.h: Always define
	__ASSUME_32BITUIDS for __powerpc__.
	* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.

	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index c7ff66e2e4..48dc192568 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -110,8 +110,9 @@
 # define __ASSUME_NEW_GETRLIMIT_SYSCALL	1
 #endif
 
-/* Linux 2.3.39 introduced 32bit UID/GIDs.  */
-#if __LINUX_KERNEL_VERSION >= 131879
+/* Linux 2.3.39 introduced 32bit UID/GIDs.  Some platforms had 32 bit
+   type all along.  */
+#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__
 # define __ASSUME_32BITUIDS		1
 # ifdef __sparc__
 #  define __ASSUME_SETRESUID_SYSCALL	1