From 006a75a99789f383713e4f47affd7c90e39cc827 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 31 Jul 2019 20:35:37 -0400 Subject: move IPC_STAT definition to a new bits/ipcstat.h file otherwise, 32-bit archs that could otherwise share the generic bits/ipc.h would need to duplicate the struct ipc_perm definition, obscuring the fact that it's the same. sysvipc is not widely used and these headers are not commonly included, so there is no performance gain to be had by limiting the number of indirectly included files here. files with the existing time32 definition of IPC_STAT are added to all current 32-bit archs now, so that when it's changed the change will show up as a change rather than addition of a new file where it's less obvious that the value is changing vs the generic one that was used before. --- arch/sh/bits/ipcstat.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/sh/bits/ipcstat.h (limited to 'arch/sh') diff --git a/arch/sh/bits/ipcstat.h b/arch/sh/bits/ipcstat.h new file mode 100644 index 00000000..0018ad1e --- /dev/null +++ b/arch/sh/bits/ipcstat.h @@ -0,0 +1 @@ +#define IPC_STAT 2 -- cgit v1.2.1