projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115af23
)
aarch64: fix namespace pollution in bits/shm.h
author
Szabolcs Nagy
<nsz@port70.net>
Wed, 1 Apr 2015 20:21:50 +0000
(20:21 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 1 Apr 2015 23:05:12 +0000
(19:05 -0400)
The shm_info struct is a gnu extension and some of its members do
not have shm* prefix. This is worked around in sys/shm.h by macros,
but aarch64 didn't use those.
arch/aarch64/bits/shm.h
patch
|
blob
|
history
diff --git
a/arch/aarch64/bits/shm.h
b/arch/aarch64/bits/shm.h
index e62fdf89a93d8246694b08df6489828d9c0e6cfc..4c3c9fb75d33b866eec9ff0fe6adc4b01324e04b 100644
(file)
--- a/
arch/aarch64/bits/shm.h
+++ b/
arch/aarch64/bits/shm.h
@@
-19,7
+19,7
@@
struct shminfo {
};
struct shm_info {
- int used_ids;
+ int
__
used_ids;
unsigned long shm_tot, shm_rss, shm_swp;
- unsigned long
swap_attempts,
swap_successes;
+ unsigned long
__swap_attempts, __
swap_successes;
};