signal: Define __ARCH_HAS_SA_RESTORER so we know whether to clear sa_restorer
authorBen Hutchings <ben@decadent.org.uk>
Mon, 26 Nov 2012 03:24:19 +0000 (22:24 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 27 Mar 2013 02:41:25 +0000 (02:41 +0000)
flush_signal_handlers() needs to know whether sigaction::sa_restorer
is defined, not whether SA_RESTORER is defined.  Define the
__ARCH_HAS_SA_RESTORER macro to indicate this.

Vaguely based on upstream commit 574c4866e33d 'consolidate kernel-side
struct sigaction declarations'.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Al Viro <viro@zeniv.linux.org.uk>

No differences found