fix some issues in x32 syscall_cp_fixup
authorrofl0r <retnyg@gmx.net>
Sun, 23 Feb 2014 15:36:43 +0000 (16:36 +0100)
committerrofl0r <retnyg@gmx.net>
Sun, 23 Feb 2014 15:38:40 +0000 (16:38 +0100)
commite002f660b8d96b414f2399248daffb3544dd837d
tree52e0ebdb23ceb6600440eee2a5fdbbac1446b0fe
parentd8b587796f7cfa0c3aa780ad19afe2e30ce84a09
fix some issues in x32 syscall_cp_fixup

- the nanosleep fixup "fixed" the second timespec* argument erroneusly.
- the futex fixup was missing the check for FUTEX_WAIT.
- general cleanup using a macro.
arch/x32/src/syscall_cp_fixup.c