arm64: add undefined instruction handler hooks
authorAlex Van Brunt <avanbrunt@nvidia.com>
Wed, 29 Jan 2014 21:41:01 +0000 (13:41 -0800)
committerGreg Hackmann <ghackmann@google.com>
Sat, 13 Sep 2014 00:29:37 +0000 (17:29 -0700)
commitbc97ba4de74958ead0d40d44d1b4516e7f3de8dd
tree9e88f615fea847634576d2c4bcb81fa04a415b5a
parent99738c2dc1ad034c0b71318b245b063479ed423a
arm64: add undefined instruction handler hooks

Add undefined instruction handler hooks similar to the system in the
arm archetecture. One difference is that hooks can only be added at
boot time and they can never be removed. This removes the need for
the spinlock in the handler.

Change-Id: I4684937f5209ca2a64ee63947bb2ab6411ae14f7
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/361736
Reviewed-on: http://git-master/r/365059
Reviewed-by: Richard Wiley <rwiley@nvidia.com>
Tested-by: Oskari Jaaskelainen <oskarij@nvidia.com>
arch/arm64/include/asm/traps.h
arch/arm64/kernel/traps.c