aarch64: enable swp software emulation [1/1]

PD#IPTV-14

Problem:
3D Benchmark.apk crash

Solution:
Add swp instruction support on armv8

Verify:
local

Change-Id: Ice2bef5c0ef7110b3adb4af811f99d4bfca1e8dc
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
This commit is contained in:
Jianxin Pan
2018-10-30 18:08:09 +08:00
parent 3f091634f1
commit 336a642594

View File

@@ -454,7 +454,11 @@ static struct undef_hook swp_hooks[] = {
static struct insn_emulation_ops swp_ops = {
.name = "swp",
#ifdef CONFIG_AMLOGIC_MODIFY
.status = INSN_DEPRECATED,
#else
.status = INSN_OBSOLETE,
#endif
.hooks = swp_hooks,
.set_hw_mode = NULL,
};