diff options
Diffstat (limited to 'recipes/initscripts/files')
-rw-r--r-- | recipes/initscripts/files/arm/alignment.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/initscripts/files/arm/alignment.sh b/recipes/initscripts/files/arm/alignment.sh index 32a9eaace2..1082908a12 100644 --- a/recipes/initscripts/files/arm/alignment.sh +++ b/recipes/initscripts/files/arm/alignment.sh @@ -1,6 +1,10 @@ #!/bin/sh -if [ -e /proc/cpu/alignment ] && ! [ $(uname -m) = "armv7l" ]; then - echo "3" > /proc/cpu/alignment +if [ -e /proc/cpu/alignment ] ; then + if [ $(uname -m) = "armv7l" ]; then + echo "0" > /proc/cpu/alignment + else + echo "3" > /proc/cpu/alignment + fi fi |