summaryrefslogtreecommitdiff
path: root/recipes/initscripts/files/arm/alignment.sh
blob: 1082908a1200a253e81b072cd6b73857a4f31e08 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ -e /proc/cpu/alignment ] ; then
   if [ $(uname -m) = "armv7l" ]; then
       echo "0" > /proc/cpu/alignment
   else
       echo "3" > /proc/cpu/alignment
   fi
fi