diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2015-05-05 16:47:56 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2018-04-20 10:19:54 -0400 |
| commit | 469599f644ce2120ceac18cfe5c39cc62c78c041 (patch) | |
| tree | 54168e37ca01d0a5615b56099651d3efb7328319 | |
| parent | c039dbd5f4bbf3547fde7ce9f7403e25938aa253 (diff) | |
y2038: alpha: Remove unneeded ipc uapi header files
The alpha ipcbuf/msgbuf/sembuf/shmbuf header files are all identical
to the version from asm-generic.
This patch removes the files and replaces them with 'generic-y'
statements as part of the y2038 series. Since there is no 32-bit
syscall support for alpha, we don't need the other changes, but
it's good to have clean this up anyway.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| -rw-r--r-- | arch/alpha/include/uapi/asm/Kbuild | 4 | ||||
| -rw-r--r-- | arch/alpha/include/uapi/asm/ipcbuf.h | 2 | ||||
| -rw-r--r-- | arch/alpha/include/uapi/asm/msgbuf.h | 28 | ||||
| -rw-r--r-- | arch/alpha/include/uapi/asm/sembuf.h | 23 | ||||
| -rw-r--r-- | arch/alpha/include/uapi/asm/shmbuf.h | 39 |
5 files changed, 4 insertions, 92 deletions
diff --git a/arch/alpha/include/uapi/asm/Kbuild b/arch/alpha/include/uapi/asm/Kbuild index 9afaba5e5503..1a5b75310cf4 100644 --- a/arch/alpha/include/uapi/asm/Kbuild +++ b/arch/alpha/include/uapi/asm/Kbuild | |||
| @@ -2,4 +2,8 @@ | |||
| 2 | include include/uapi/asm-generic/Kbuild.asm | 2 | include include/uapi/asm-generic/Kbuild.asm |
| 3 | 3 | ||
| 4 | generic-y += bpf_perf_event.h | 4 | generic-y += bpf_perf_event.h |
| 5 | generic-y += ipcbuf.h | ||
| 6 | generic-y += msgbuf.h | ||
| 5 | generic-y += poll.h | 7 | generic-y += poll.h |
| 8 | generic-y += sembuf.h | ||
| 9 | generic-y += shmbuf.h | ||
diff --git a/arch/alpha/include/uapi/asm/ipcbuf.h b/arch/alpha/include/uapi/asm/ipcbuf.h deleted file mode 100644 index 90d6445a14df..000000000000 --- a/arch/alpha/include/uapi/asm/ipcbuf.h +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 2 | #include <asm-generic/ipcbuf.h> | ||
diff --git a/arch/alpha/include/uapi/asm/msgbuf.h b/arch/alpha/include/uapi/asm/msgbuf.h deleted file mode 100644 index 8c5d4d8c1b16..000000000000 --- a/arch/alpha/include/uapi/asm/msgbuf.h +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 2 | #ifndef _ALPHA_MSGBUF_H | ||
| 3 | #define _ALPHA_MSGBUF_H | ||
| 4 | |||
| 5 | /* | ||
| 6 | * The msqid64_ds structure for alpha architecture. | ||
| 7 | * Note extra padding because this structure is passed back and forth | ||
| 8 | * between kernel and user space. | ||
| 9 | * | ||
| 10 | * Pad space is left for: | ||
| 11 | * - 2 miscellaneous 64-bit values | ||
| 12 | */ | ||
| 13 | |||
| 14 | struct msqid64_ds { | ||
| 15 | struct ipc64_perm msg_perm; | ||
| 16 | __kernel_time_t msg_stime; /* last msgsnd time */ | ||
| 17 | __kernel_time_t msg_rtime; /* last msgrcv time */ | ||
| 18 | __kernel_time_t msg_ctime; /* last change time */ | ||
| 19 | unsigned long msg_cbytes; /* current number of bytes on queue */ | ||
| 20 | unsigned long msg_qnum; /* number of messages in queue */ | ||
| 21 | unsigned long msg_qbytes; /* max number of bytes on queue */ | ||
| 22 | __kernel_pid_t msg_lspid; /* pid of last msgsnd */ | ||
| 23 | __kernel_pid_t msg_lrpid; /* last receive pid */ | ||
| 24 | unsigned long __unused1; | ||
| 25 | unsigned long __unused2; | ||
| 26 | }; | ||
| 27 | |||
| 28 | #endif /* _ALPHA_MSGBUF_H */ | ||
diff --git a/arch/alpha/include/uapi/asm/sembuf.h b/arch/alpha/include/uapi/asm/sembuf.h deleted file mode 100644 index f28ffa668b2f..000000000000 --- a/arch/alpha/include/uapi/asm/sembuf.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 2 | #ifndef _ALPHA_SEMBUF_H | ||
| 3 | #define _ALPHA_SEMBUF_H | ||
| 4 | |||
| 5 | /* | ||
| 6 | * The semid64_ds structure for alpha architecture. | ||
| 7 | * Note extra padding because this structure is passed back and forth | ||
| 8 | * between kernel and user space. | ||
| 9 | * | ||
| 10 | * Pad space is left for: | ||
| 11 | * - 2 miscellaneous 64-bit values | ||
| 12 | */ | ||
| 13 | |||
| 14 | struct semid64_ds { | ||
| 15 | struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ | ||
| 16 | __kernel_time_t sem_otime; /* last semop time */ | ||
| 17 | __kernel_time_t sem_ctime; /* last change time */ | ||
| 18 | unsigned long sem_nsems; /* no. of semaphores in array */ | ||
| 19 | unsigned long __unused1; | ||
| 20 | unsigned long __unused2; | ||
| 21 | }; | ||
| 22 | |||
| 23 | #endif /* _ALPHA_SEMBUF_H */ | ||
diff --git a/arch/alpha/include/uapi/asm/shmbuf.h b/arch/alpha/include/uapi/asm/shmbuf.h deleted file mode 100644 index 7e041ca2eb40..000000000000 --- a/arch/alpha/include/uapi/asm/shmbuf.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 2 | #ifndef _ALPHA_SHMBUF_H | ||
| 3 | #define _ALPHA_SHMBUF_H | ||
| 4 | |||
| 5 | /* | ||
| 6 | * The shmid64_ds structure for alpha architecture. | ||
| 7 | * Note extra padding because this structure is passed back and forth | ||
| 8 | * between kernel and user space. | ||
| 9 | * | ||
| 10 | * Pad space is left for: | ||
| 11 | * - 2 miscellaneous 64-bit values | ||
| 12 | */ | ||
| 13 | |||
| 14 | struct shmid64_ds { | ||
| 15 | struct ipc64_perm shm_perm; /* operation perms */ | ||
| 16 | size_t shm_segsz; /* size of segment (bytes) */ | ||
| 17 | __kernel_time_t shm_atime; /* last attach time */ | ||
| 18 | __kernel_time_t shm_dtime; /* last detach time */ | ||
| 19 | __kernel_time_t shm_ctime; /* last change time */ | ||
| 20 | __kernel_pid_t shm_cpid; /* pid of creator */ | ||
| 21 | __kernel_pid_t shm_lpid; /* pid of last operator */ | ||
| 22 | unsigned long shm_nattch; /* no. of current attaches */ | ||
| 23 | unsigned long __unused1; | ||
| 24 | unsigned long __unused2; | ||
| 25 | }; | ||
| 26 | |||
| 27 | struct shminfo64 { | ||
| 28 | unsigned long shmmax; | ||
| 29 | unsigned long shmmin; | ||
| 30 | unsigned long shmmni; | ||
| 31 | unsigned long shmseg; | ||
| 32 | unsigned long shmall; | ||
| 33 | unsigned long __unused1; | ||
| 34 | unsigned long __unused2; | ||
| 35 | unsigned long __unused3; | ||
| 36 | unsigned long __unused4; | ||
| 37 | }; | ||
| 38 | |||
| 39 | #endif /* _ALPHA_SHMBUF_H */ | ||
