diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-09 21:16:43 +0100 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2018-01-23 14:20:52 +0100 |
| commit | 2e0a8713bd6804ce49044915ba9cd5bd7148de77 (patch) | |
| tree | fa9f232f2cd1017d520518e52ed318cc3de8ceb0 /hw/intc/apic.c | |
| parent | 95e6d4305affbbf5258c6a533be9bfd24599da90 (diff) | |
| download | focaccia-qemu-2e0a8713bd6804ce49044915ba9cd5bd7148de77.tar.gz focaccia-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 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions