summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSamuel Thibault2018-01-09 21:16:43 +0100
committerLaurent Vivier2018-01-23 14:20:52 +0100
commit2e0a8713bd6804ce49044915ba9cd5bd7148de77 (patch)
treefa9f232f2cd1017d520518e52ed318cc3de8ceb0 /scripts
parentlinux-user/mmap.c: Avoid choosing NULL as start address (diff)
downloadqemu-2e0a8713bd6804ce49044915ba9cd5bd7148de77.tar.gz
qemu-2e0a8713bd6804ce49044915ba9cd5bd7148de77.tar.xz
qemu-2e0a8713bd6804ce49044915ba9cd5bd7148de77.zip
linux-user: Fix sched_get/setaffinity conversion
sched_get/setaffinity linux-user syscalls were missing conversions for little/big endian, which is hairy since longs may not be the same size either. For simplicity, this just introduces loops to convert bit by bit like is done for select. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20180109201643.1479-1-samuel.thibault@ens-lyon.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions