path: root/arch
diff options
authorRich Felker <>2019-07-29 15:44:58 -0400
committerRich Felker <>2019-07-29 15:44:58 -0400
commit0bf7c65aa2ebc6d3c7f718e7008738c74f12cb58 (patch)
treefed5ffe45ce715c509eac85501c1034b3e8d55d7 /arch
parent6ed37ccd31987c7f4fdd457101c5342e64431cd5 (diff)
use 64-bit shmid_ds layout in the generic version of bits/shm.h
this layout is more common already than the old generic, and should become even more common in the future with new archs added and with 64-bit time_t on 32-bit archs. the duplicate arch-specific copies are not removed yet in this commit, so as to assist git tooling in copy/rename tracking.
Diffstat (limited to 'arch')
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/generic/bits/shm.h b/arch/generic/bits/shm.h
index 45d1d157..6652d659 100644
--- a/arch/generic/bits/shm.h
+++ b/arch/generic/bits/shm.h
@@ -4,11 +4,8 @@ struct shmid_ds {
struct ipc_perm shm_perm;
size_t shm_segsz;
time_t shm_atime;
- int __unused1;
time_t shm_dtime;
- int __unused2;
time_t shm_ctime;
- int __unused3;
pid_t shm_cpid;
pid_t shm_lpid;
unsigned long shm_nattch;