[PATCH] uml: fix signal frame alignment
commit9f8dc7500aa31654329ddb7596fd0f2f91817251
authorJeff Dike <jdike@addtoit.com>
Tue, 30 Jan 2007 22:36:17 +0000 (30 14:36 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:44 +0000 (5 08:31 -0800)
tree81e5f25aff970af6fcf6708c80e92bf303defeda
parent8b0165ce42354878b66482f34149d99660dbcdb0
[PATCH] 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>
Cc: <stable@kernel.org>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Antoine Martin <antoine@nagafix.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/um/sys-i386/signal.c
arch/um/sys-x86_64/signal.c