From: Dave Martin Date: Thu, 28 Jul 2011 13:29:40 +0000 (+0100) Subject: ARM: 7008/1: alignment: Make SIGBUS sent to userspace POSIXly correct X-Git-Tag: v3.1-rc2~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2102a65e69eac8d77dd71b4991b395e825087ba8;p=pandora-kernel.git ARM: 7008/1: alignment: Make SIGBUS sent to userspace POSIXly correct With the UM_SIGNAL alignment fault mode, no siginfo structure is passed to userspace. POSIX specifies how siginfo_t should be populated for alignment faults, so this patch does just that: * si_signo = SIGBUS * si_code = BUS_ADRALN * si_addr = misaligned data address at which access was attempted Signed-off-by: Dave Martin Acked-by: Nicolas Pitre Acked-by: Kirill A. Shutemov Reviewed-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed