summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-12-22 20:46:33 +0000
committerPhil Blundell <philb@gnu.org>2004-12-22 20:46:33 +0000
commitfcd843cb73d8bee0b72ff6890d02fc4cec9fe7b0 (patch)
tree79e6981344a2cf61c283ab23c0bf87379150c2c9
parent91b498df456d8cc63fa1127d2be607a01d1b0a1e (diff)
change default /proc/cpu/alignment setting from 5 to 3
BKrev: 41c9dd29ZvqECesnN6Zc5ipCEEkcXQ
-rw-r--r--packages/initscripts/initscripts-1.0/arm/alignment.sh6
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/arm/alignment.sh b/packages/initscripts/initscripts-1.0/arm/alignment.sh
index e69de29bb2..4a66dc6bc8 100644
--- a/packages/initscripts/initscripts-1.0/arm/alignment.sh
+++ b/packages/initscripts/initscripts-1.0/arm/alignment.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ -e /proc/cpu/alignment ]; then
+ echo "3" > /proc/cpu/alignment
+fi
+
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 0955b38cd5..617e84a8b3 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -5,7 +5,7 @@ PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r24"
+PR = "r25"
SRC_URI = "file://halt \
file://ramdisk \