tile 32-bit big-endian: fix bugs in syscall argument order
authorChris Metcalf <cmetcalf@mellanox.com>
Wed, 15 Jun 2016 19:19:04 +0000 (15:19 -0400)
committerChris Metcalf <cmetcalf@mellanox.com>
Wed, 15 Jun 2016 19:31:01 +0000 (15:31 -0400)
commitca768667d87331d2e2fc84e1546fbf96f22ed5fe
tree54464ddab4d52317a759011adaaab5e56ec281ee
parent9fbd49cff0f02e122459fe4899ff0c136cdebcd2
tile 32-bit big-endian: fix bugs in syscall argument order

The glibc __LONG_LONG_PAIR passes arguments in a different
order for BE platforms vs LE platforms.  Adjust the expectations
in the kernel 32-bit syscall routines for BE to match.

Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
arch/tile/kernel/compat.c
arch/tile/kernel/sys.c