Skip to content

Commit 9da654b

Browse files
authored
Merge pull request #4516 from Gelbpunkt/powerpc64-musl-map-locked-noreserve
musl: powerpc64: Fix definition of MAP_LOCKED and MAP_NORESERVE
2 parents be45368 + 5c0742b commit 9da654b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/musl/b64/powerpc64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ pub const MAP_ANON: c_int = 0x0020;
177177
pub const MAP_GROWSDOWN: c_int = 0x0100;
178178
pub const MAP_DENYWRITE: c_int = 0x0800;
179179
pub const MAP_EXECUTABLE: c_int = 0x01000;
180-
pub const MAP_LOCKED: c_int = 0x02000;
181-
pub const MAP_NORESERVE: c_int = 0x04000;
180+
pub const MAP_LOCKED: c_int = 0x80;
181+
pub const MAP_NORESERVE: c_int = 0x40;
182182
pub const MAP_POPULATE: c_int = 0x08000;
183183
pub const MAP_NONBLOCK: c_int = 0x010000;
184184
pub const MAP_STACK: c_int = 0x020000;

0 commit comments

Comments
 (0)