am f52338fe: Merge "rootdir: enable armv8_deprecated swp hook"
* commit 'f52338fe1e8f74123a895db591d6a2a53061a2b1':
rootdir: enable armv8_deprecated swp hook
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 32ca673..dd665f9 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -153,6 +153,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