Merge "rootdir: enable armv8_deprecated swp hook"
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 2ae7409..bf70708 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -160,6 +160,9 @@
chown system log /sys/fs/pstore/pmsg-ramoops-0
chmod 0440 /sys/fs/pstore/pmsg-ramoops-0
+ # enable armv8_deprecated instruction hooks
+ write /proc/sys/abi/swp 1
+
# Healthd can trigger a full boot from charger mode by signaling this
# property when the power button is held.
on property:sys.boot_from_charger_mode=1