From: Benjamin Herrenschmidt Date: Mon, 4 Jun 2007 07:22:48 +0000 (+1000) Subject: [POWERPC] Merge creation of signal frame X-Git-Tag: v2.6.23-rc1~767^2^2~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3f61dc0a5335334958ec3b97d0b1946b4ae5375;p=pandora-kernel.git [POWERPC] Merge creation of signal frame The code for creating signal frames was still duplicated and split in strange ways between 32 and 64 bits, including the SA_ONSTACK handling being in do_signal on 32 bits but inside handle_rt_signal on 64 bits etc... This moves the 64 bits get_sigframe() to the generic signal.c, cleans it a bit, moves the access_ok() call done by all callers to it as well, and adapts/cleanups the 3 different signal handling cases to use that common function. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed