]> git.karo-electronics.de Git - mv-sheeva.git/commit
arch/tile: return SIGBUS for addresses that are unaligned AND invalid
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Mar 2012 20:24:41 +0000 (16:24 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 2 Apr 2012 16:13:56 +0000 (12:13 -0400)
commitcdd8e16feba87a3fc2bb1885d36f895a2a3288bf
tree26569389231172fbf0baf00f71e06dae7bab2583
parent54229ff359250ce7292dbeb59f157a2d3b67e30c
arch/tile: return SIGBUS for addresses that are unaligned AND invalid

Previously we were returning SIGSEGV in this case.  It seems cleaner
to return SIGBUS since the hardware figures out alignment traps
before TLB violations, so SIGBUS is the "more correct" signal.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/single_step.c