diff options
author | Koen Kooi <koen@openembedded.org> | 2008-07-06 10:39:01 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-07-06 10:39:01 +0000 |
commit | e0241d95b58de6c11be24f2aa0d90db3a5e44b50 (patch) | |
tree | c2b2405afdde53645f13c24eb82f534a7cf41ee3 /packages/initscripts/initscripts-1.0 | |
parent | 27ad067e1147eada1e98bd691ff641120a8077e2 (diff) |
initscripts: do not poke at /proc/cpu/alignment on armv7, it slows libavcodec down with 50%
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rw-r--r-- | packages/initscripts/initscripts-1.0/arm/alignment.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/arm/alignment.sh b/packages/initscripts/initscripts-1.0/arm/alignment.sh index 4a66dc6bc8..256f30cb8d 100644 --- a/packages/initscripts/initscripts-1.0/arm/alignment.sh +++ b/packages/initscripts/initscripts-1.0/arm/alignment.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ -e /proc/cpu/alignment ]; then +if [ -e /proc/cpu/alignment ] && ! [ $(uname -m) = "armv7l: ]; then echo "3" > /proc/cpu/alignment fi |