]> git.baikalelectronics.ru Git - kernel.git/commit
arch/tile: Fix a couple of issues with the COMPAT code for TILE-Gx.
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 13 Aug 2010 12:32:21 +0000 (08:32 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 13 Aug 2010 12:32:21 +0000 (08:32 -0400)
commit0678e90e42fbdbff2a0525bfe579c364c1d6fc0f
tree86bca127e785fe2170bfec548ebc6be549a842b8
parent205992a251a9a8838a5a87537ca4641b992b868e
arch/tile: Fix a couple of issues with the COMPAT code for TILE-Gx.

First, the siginfo preamble wasn't quite right; we need to indicate
that we are padding up to 4 ints of preamble for 64-bit code, and
then for compat mode we need to pad differently, using only 3 ints.

Second, the C ABI requires a save area of two registers, not two
pointers, since in compat mode we have 64-bit registers all of which
we need to save, even though we only have 32-bit VAs.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/arch/abi.h
arch/tile/include/asm/siginfo.h
arch/tile/kernel/compat_signal.c