From 484c34fe1db184ff761db7866a8e667e093b2307 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 29 Jul 2019 15:52:20 -0400 Subject: [PATCH] remove duplicates of new generic bits/shm.h --- arch/aarch64/bits/shm.h | 24 ------------------------ arch/mips64/bits/shm.h | 24 ------------------------ arch/riscv64/bits/shm.h | 25 ------------------------- arch/s390x/bits/shm.h | 25 ------------------------- arch/x86_64/bits/shm.h | 25 ------------------------- 5 files changed, 123 deletions(-) delete mode 100644 arch/aarch64/bits/shm.h delete mode 100644 arch/mips64/bits/shm.h delete mode 100644 arch/riscv64/bits/shm.h delete mode 100644 arch/s390x/bits/shm.h delete mode 100644 arch/x86_64/bits/shm.h diff --git a/arch/aarch64/bits/shm.h b/arch/aarch64/bits/shm.h deleted file mode 100644 index 8d193781..00000000 --- a/arch/aarch64/bits/shm.h +++ /dev/null @@ -1,24 +0,0 @@ -#define SHMLBA 4096 - -struct shmid_ds { - struct ipc_perm shm_perm; - size_t shm_segsz; - time_t shm_atime; - time_t shm_dtime; - time_t shm_ctime; - pid_t shm_cpid; - pid_t shm_lpid; - unsigned long shm_nattch; - unsigned long __pad1; - unsigned long __pad2; -}; - -struct shminfo { - unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; -}; - -struct shm_info { - int __used_ids; - unsigned long shm_tot, shm_rss, shm_swp; - unsigned long __swap_attempts, __swap_successes; -}; diff --git a/arch/mips64/bits/shm.h b/arch/mips64/bits/shm.h deleted file mode 100644 index 8d193781..00000000 --- a/arch/mips64/bits/shm.h +++ /dev/null @@ -1,24 +0,0 @@ -#define SHMLBA 4096 - -struct shmid_ds { - struct ipc_perm shm_perm; - size_t shm_segsz; - time_t shm_atime; - time_t shm_dtime; - time_t shm_ctime; - pid_t shm_cpid; - pid_t shm_lpid; - unsigned long shm_nattch; - unsigned long __pad1; - unsigned long __pad2; -}; - -struct shminfo { - unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; -}; - -struct shm_info { - int __used_ids; - unsigned long shm_tot, shm_rss, shm_swp; - unsigned long __swap_attempts, __swap_successes; -}; diff --git a/arch/riscv64/bits/shm.h b/arch/riscv64/bits/shm.h deleted file mode 100644 index 4c3c9fb7..00000000 --- a/arch/riscv64/bits/shm.h +++ /dev/null @@ -1,25 +0,0 @@ -#define SHMLBA 4096 - -struct shmid_ds -{ - struct ipc_perm shm_perm; - size_t shm_segsz; - time_t shm_atime; - time_t shm_dtime; - time_t shm_ctime; - pid_t shm_cpid; - pid_t shm_lpid; - unsigned long shm_nattch; - unsigned long __pad1; - unsigned long __pad2; -}; - -struct shminfo { - unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; -}; - -struct shm_info { - int __used_ids; - unsigned long shm_tot, shm_rss, shm_swp; - unsigned long __swap_attempts, __swap_successes; -}; diff --git a/arch/s390x/bits/shm.h b/arch/s390x/bits/shm.h deleted file mode 100644 index 6652d659..00000000 --- a/arch/s390x/bits/shm.h +++ /dev/null @@ -1,25 +0,0 @@ -#define SHMLBA 4096 - -struct shmid_ds { - struct ipc_perm shm_perm; - size_t shm_segsz; - time_t shm_atime; - time_t shm_dtime; - time_t shm_ctime; - pid_t shm_cpid; - pid_t shm_lpid; - unsigned long shm_nattch; - unsigned long __pad1; - unsigned long __pad2; -}; - -struct shminfo { - unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; -}; - -struct shm_info { - int __used_ids; - unsigned long shm_tot, shm_rss, shm_swp; - unsigned long __swap_attempts, __swap_successes; -}; - diff --git a/arch/x86_64/bits/shm.h b/arch/x86_64/bits/shm.h deleted file mode 100644 index 6652d659..00000000 --- a/arch/x86_64/bits/shm.h +++ /dev/null @@ -1,25 +0,0 @@ -#define SHMLBA 4096 - -struct shmid_ds { - struct ipc_perm shm_perm; - size_t shm_segsz; - time_t shm_atime; - time_t shm_dtime; - time_t shm_ctime; - pid_t shm_cpid; - pid_t shm_lpid; - unsigned long shm_nattch; - unsigned long __pad1; - unsigned long __pad2; -}; - -struct shminfo { - unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; -}; - -struct shm_info { - int __used_ids; - unsigned long shm_tot, shm_rss, shm_swp; - unsigned long __swap_attempts, __swap_successes; -}; -