]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] uml: fix signal frame alignment
authorJeff Dike <jdike@addtoit.com>
Tue, 30 Jan 2007 22:36:17 +0000 (14:36 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 31 Jan 2007 00:01:35 +0000 (16:01 -0800)
commit3896625d0badd53dbc34d584861a36ba7eb4613f
tree35af106b8356634a0e804341b8eb0a90b588df41
parent99abaf51e25f7d4ac2081e5cdc1f01baa0543514
[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: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/sys-i386/signal.c
arch/um/sys-x86_64/signal.c