arm64: add fault handling to SWP emulation
authorAlex Van Brunt <avanbrunt@nvidia.com>
Fri, 21 Feb 2014 02:18:53 +0000 (18:18 -0800)
committerGreg Hackmann <ghackmann@google.com>
Sat, 13 Sep 2014 00:29:52 +0000 (17:29 -0700)
commit70f16b592ee11f74eb0bc2664202b87ee3582bd8
tree389eda84c3964e11daee3d1e3a7d8d2d6b14ad14
parentd0c5e1444d3efbe361bb5e9fc0d8dd0aeb6ae2fb
arm64: add fault handling to SWP emulation

Add excpetion table and fixup for SWP/SWPB instruction emulation.
This prevents the kernel from panicing when emulating a SWP/SWPB
instruction that access unmapped memory.

Change-Id: I4a9ca34fa161a0f306cdb663827d9bee39cec733
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/370278
arch/arm64/kernel/swp_emulate.c