]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
uml: fix signal frame alignment
authorJeff Dike <jdike@addtoit.com>
Wed, 14 Feb 2007 19:37:44 +0000 (20:37 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 14 Feb 2007 19:37:44 +0000 (20:37 +0100)
commit0ec7c9f826a86a2a24101192e6f5f804ed8d7021
treecc871d4e4af9e3a673c0d5fa4a942112fc3d1966
parent419c9c25b8a75bd88d6014498a81610b2e658b08
uml: fix signal frame alignment

Use the same signal frame alignment calculations as the underlying
architecture.  x86_64 appeared to do this, but the "- 8" was really
subtracting 8 * sizeof(struct rt_sigframe) rather than 8 bytes.

UML/i386 might have been OK, but I changed the calculation to match
i386 just to be sure.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/um/sys-i386/signal.c
arch/um/sys-x86_64/signal.c