summaryrefslogtreecommitdiff
path: root/arch/x86_64/bits
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2014-01-11 13:41:50 +0100
committerrofl0r <retnyg@gmx.net>2014-02-23 11:07:18 +0100
commit0f169cbb79c39a5b15f7a27d9283cdeb6e122b8f (patch)
treee9235f57fecb9a9fa27a9232cbfbee7ecef62dcc /arch/x86_64/bits
parent1a2e55b95a2cf51616cce7b46f9a30e820679314 (diff)
downloadmusl-0f169cbb79c39a5b15f7a27d9283cdeb6e122b8f.tar.gz
musl-0f169cbb79c39a5b15f7a27d9283cdeb6e122b8f.tar.bz2
musl-0f169cbb79c39a5b15f7a27d9283cdeb6e122b8f.tar.xz
musl-0f169cbb79c39a5b15f7a27d9283cdeb6e122b8f.zip
sys/shm.h: move arch specific structs to bits/
Diffstat (limited to 'arch/x86_64/bits')
-rw-r--r--arch/x86_64/bits/shm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86_64/bits/shm.h b/arch/x86_64/bits/shm.h
index abf1d506..f4b87126 100644
--- a/arch/x86_64/bits/shm.h
+++ b/arch/x86_64/bits/shm.h
@@ -13,3 +13,14 @@ struct shmid_ds
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;
+};
+