summaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2015-02-05 23:21:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-05 23:21:19 +0000
commit86cdce1aab39ddbb346e6f7be1ca86531970419f (patch)
tree959aca6b0d30ba163704b3050769f118f90ea87d /rootdir/init.rc
parentdcbeb41a673e3fa6eb8344e9c806cb8a5f7eeff5 (diff)
parentf52338fe1e8f74123a895db591d6a2a53061a2b1 (diff)
downloadsystem_core-86cdce1aab39ddbb346e6f7be1ca86531970419f.tar.gz
system_core-86cdce1aab39ddbb346e6f7be1ca86531970419f.tar.bz2
system_core-86cdce1aab39ddbb346e6f7be1ca86531970419f.zip
am f52338fe: Merge "rootdir: enable armv8_deprecated swp hook"
* commit 'f52338fe1e8f74123a895db591d6a2a53061a2b1': rootdir: enable armv8_deprecated swp hook
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 32ca67309..dd665f9ed 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -153,6 +153,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