All of lore.kernel.org
 help / color / mirror / Atom feed
* [STABLE][PATCH] initscripts: set alignment to 0 for armv7a
@ 2009-03-31 20:40 Koen Kooi
  2009-04-01 14:33 ` Philip Balister
  0 siblings, 1 reply; 2+ messages in thread
From: Koen Kooi @ 2009-03-31 20:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

From: Koen Kooi <koen@openembedded.org>


Signed-off-by: Koen Kooi <koen@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 \
-- 
1.5.6.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [STABLE][PATCH] initscripts: set alignment to 0 for armv7a
  2009-03-31 20:40 [STABLE][PATCH] initscripts: set alignment to 0 for armv7a Koen Kooi
@ 2009-04-01 14:33 ` Philip Balister
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Balister @ 2009-04-01 14:33 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

Acked-by: Philip Balister (philip@balister.org)

Koen Kooi wrote:
> From: Koen Kooi <koen@openembedded.org>
> 
> 
> Signed-off-by: Koen Kooi <koen@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 \

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-01 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 20:40 [STABLE][PATCH] initscripts: set alignment to 0 for armv7a Koen Kooi
2009-04-01 14:33 ` Philip Balister

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.