about summary refs log tree commit diff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-31 20:35:37 -0400
committerRich Felker <dalias@aerifal.cx>2019-08-02 00:08:23 -0400
commit006a75a99789f383713e4f47affd7c90e39cc827 (patch)
treea9b932585992c90c364a06194ea06cf88ce3fd7d /arch/powerpc
parent3541925fb1db0bce7eaca7900fdd624e2f50ed6d (diff)
downloadmusl-006a75a99789f383713e4f47affd7c90e39cc827.tar.gz
musl-006a75a99789f383713e4f47affd7c90e39cc827.tar.xz
musl-006a75a99789f383713e4f47affd7c90e39cc827.zip
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.
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/bits/ipcstat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/bits/ipcstat.h b/arch/powerpc/bits/ipcstat.h
new file mode 100644
index 00000000..0018ad1e
--- /dev/null
+++ b/arch/powerpc/bits/ipcstat.h
@@ -0,0 +1 @@
+#define IPC_STAT 2