move IPC_STAT definition to a new bits/ipcstat.h file
authorRich Felker <dalias@aerifal.cx>
Thu, 1 Aug 2019 00:35:37 +0000 (20:35 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 2 Aug 2019 04:08:23 +0000 (00:08 -0400)
commit006a75a99789f383713e4f47affd7c90e39cc827
treea9b932585992c90c364a06194ea06cf88ce3fd7d
parent3541925fb1db0bce7eaca7900fdd624e2f50ed6d
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/arm/bits/ipcstat.h [new file with mode: 0644]
arch/generic/bits/ipcstat.h [new file with mode: 0644]
arch/i386/bits/ipcstat.h [new file with mode: 0644]
arch/m68k/bits/ipcstat.h [new file with mode: 0644]
arch/microblaze/bits/ipcstat.h [new file with mode: 0644]
arch/mips/bits/ipcstat.h [new file with mode: 0644]
arch/mipsn32/bits/ipcstat.h [new file with mode: 0644]
arch/or1k/bits/ipcstat.h [new file with mode: 0644]
arch/powerpc/bits/ipcstat.h [new file with mode: 0644]
arch/sh/bits/ipcstat.h [new file with mode: 0644]
include/sys/ipc.h