[parisc-linux-cvs] (no subject)

Matthew Wilcox willy@ldl.fc.hp.com
Thu, 19 Apr 2001 13:23:58 -0600


PA-RISC has always had 32-bit UIDs / GIDs.  This should fix the IPC problem
that Brendan O'Dea reported.

Index: kernel-features.h
===================================================================
RCS file: /home/cvs/parisc/glibc/sysdeps/unix/sysv/linux/kernel-features.h,v
retrieving revision 1.6
diff -u -p -r1.6 kernel-features.h
--- kernel-features.h	2000/10/10 21:26:08	1.6
+++ kernel-features.h	2001/04/19 19:14:44
@@ -112,7 +112,8 @@
 
 /* Linux 2.3.39 introduced 32bit UID/GIDs and IPC64.  Some platforms had 32
    bit type all along.  */
-#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__ || defined __mips__
+#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__ \
+	|| defined __mips__ || defined __hppa__
 # define __ASSUME_32BITUIDS		1
 # ifndef __powerpc__
 #  define __ASSUME_IPC64		1