From b48e4e380f359631131bebace6e768ebfdefcfd8 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 31 Mar 2009 17:38:50 +0200 Subject: initscripts: set alignment to 0 for armv7a * the previous change was meant to do that, but depended on kernel config * runtime tested on beagleboard, omap3evm and omapzoom --- recipes/initscripts/files/arm/alignment.sh | 8 ++++++-- recipes/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'recipes/initscripts') 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 diff --git a/recipes/initscripts/initscripts_1.0.bb b/recipes/initscripts/initscripts_1.0.bb index b497576036..556fbe46b7 100644 --- a/recipes/initscripts/initscripts_1.0.bb +++ b/recipes/initscripts/initscripts_1.0.bb @@ -4,7 +4,7 @@ PRIORITY = "required" DEPENDS = "makedevs" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r112" +PR = "r113" SRC_URI = "file://functions \ file://halt \ -- cgit v1.2.3