Skip to content

Commit

Permalink
* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
Browse files Browse the repository at this point in the history
	* 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.
  • Loading branch information
Roland McGrath committed Oct 2, 2002
1 parent 72978bb commit b77bb4f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions sysdeps/unix/sysv/linux/powerpc/bits/ipc.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
};


Expand Down

0 comments on commit b77bb4f

Please sign in to comment.