commit | 213b24c93b6c43d96973b9db453bf845c97bbe18 | [log] [tgz] |
---|---|---|
author | Greg Ungerer <gerg@snapgear.com> | Fri Sep 02 10:42:52 2005 +1000 |
committer | Linus Torvalds <torvalds@evo.osdl.org> | Fri Sep 02 00:57:31 2005 -0700 |
tree | d47aea7e40411d997392b1ce12cc82fd02908ec8 | |
parent | 03a002e783b71517a5203e681f84a2719e9cec0e [diff] |
[PATCH] uclinux: use MAP_PRIVATE when mmaping code regions in flat binary loader Use MAP_PRIVATE when calling mmap to get memory for the code region. The flat loader was using MAP_SHARED, but underlying changes to the MMUless mmap means this is now wrong. Signed-off-by: Greg Ungerer <gerg@uclinux.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>