summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2015-02-05 23:09:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-05 23:09:14 +0000
commitf52338fe1e8f74123a895db591d6a2a53061a2b1 (patch)
tree521afb835f9b090870a5081ce7b2081fcec5b910
parentd558530ba90cb6218fe8e255c71a034c3fe1ea58 (diff)
parentcee8757f921d5b74acbc29b37a1842041b27fb00 (diff)
downloadsystem_core-f52338fe1e8f74123a895db591d6a2a53061a2b1.zip
system_core-f52338fe1e8f74123a895db591d6a2a53061a2b1.tar.gz
system_core-f52338fe1e8f74123a895db591d6a2a53061a2b1.tar.bz2
Merge "rootdir: enable armv8_deprecated swp hook"
-rw-r--r--rootdir/init.rc3
1 files changed, 3 insertions, 0 deletions
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 @@ on init
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