[oe] [STABLE][PATCH] initscripts: set alignment to 0 for armv7a
Philip Balister
philip at balister.org
Wed Apr 1 14:33:19 UTC 2009
Acked-by: Philip Balister (philip at balister.org)
Koen Kooi wrote:
> From: Koen Kooi <koen at openembedded.org>
>
>
> Signed-off-by: Koen Kooi <koen at openembedded.org>
> ---
> recipes/initscripts/files/arm/alignment.sh | 8 ++++++--
> recipes/initscripts/initscripts_1.0.bb | 2 +-
> 2 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/initscripts/files/arm/alignment.sh b/recipes/initscripts/files/arm/alignment.sh
> index 32a9eaa..1082908 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 b497576..556fbe4 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 \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090401/7029fb44/attachment-0002.bin>
More information about the Openembedded-devel
mailing list