* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
authorRoland McGrath <roland@gnu.org>
Wed, 2 Oct 2002 08:48:09 +0000 (08:48 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 2 Oct 2002 08:48:09 +0000 (08:48 +0000)
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
so they are consistent between PPC32 and PPC64.

ChangeLog
README.template
sysdeps/unix/sysv/linux/powerpc/bits/ipc.h

index fc484ca..50dc18c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2002-09-27  Steven Munroe  <sjmunroe@us.ibm.com>
 
+       * README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
+
+       * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
+       Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
+       so they are consistent between PPC32 and PPC64.
+
        * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
        (_STAT_VER): Define to _STAT_VER_KERNEL.
        (stru stat, struct stat64): Define to match the PPC64 kernel.
index 0cfca03..7840319 100644 (file)
@@ -10,7 +10,7 @@ configurations:
                m68k-*-linux-gnu        Linux-2.x on Motorola 680x0
                alpha*-*-linux-gnu      Linux-2.x on DEC Alpha
                powerpc-*-linux-gnu     Linux and MkLinux on PowerPC systems
-               powerpc64-*-linux-gnu   Linux-2.4+ on 64-bit PowerPC systems
+               powerpc64-*-linux-gnu   Linux-2.4.19+ on 64-bit PowerPC systems
                sparc-*-linux-gnu       Linux-2.x on SPARC
                sparc64-*-linux-gnu     Linux-2.x on UltraSPARC 64-bit
                arm-*-none              ARM standalone systems
index 9a5b602..1ba9934 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2002 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
@@ -48,10 +48,10 @@ struct ipc_perm
     __uid_t cuid;              /* Creator's user ID.  */
     __gid_t cgid;              /* Creator's group ID.  */
     __mode_t mode;             /* Read/write permission.  */
-    unsigned long int __seq;   /* Sequence number.  */
-    unsigned int __pad1;
-    unsigned long long int __unused1;
-    unsigned long long int __unused2;
+    __uint32_t __seq;          /* Sequence number.  */
+    __uint32_t __pad1;
+    __uint64_t __unused1;
+    __uint64_t __unused2;
   };