summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-03-23 23:32:58 +0000
committerRichard Purdie <richard@openedhand.com>2006-03-23 23:32:58 +0000
commit7f60e4b4e7d9b45bfe4b76802a2e82bb4edbba9f (patch)
treeb1ca54365729e3a4ac05c93616beb1207e497873 /openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh
parent5d530ad71d08c3ebf127c6844969359c3a06a6ed (diff)
downloadpoky-7f60e4b4e7d9b45bfe4b76802a2e82bb4edbba9f.tar.gz
Sync initscripts with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@331 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh')
-rw-r--r--openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh b/openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh
deleted file mode 100644
index bf193cb01c..0000000000
--- a/openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh
+++ /dev/null
@@ -1,20 +0,0 @@
1#!/bin/sh
2#
3# How to handle alignment faults on the ARM
4#
5# 0 - ignore, the value will probably be rotated
6# 1 - warn, a log message will be output
7# 2 - fixup, the kernel will do an expensive aligned read
8# 3 - fixup+warn
9# 4 - signal, the process will get an illegal instruction fault
10# 5 - signal+warn
11# 6 - invalid (has no effect)
12# 7 - invalid (has no effect)
13#
14# Set ALIGN in /etc/default/rcS to override (do not edit this
15# file!) Set ALIGN to empty to avoid changing the kernel
16# default (currently '0').
17ALIGN=1
18. /etc/default/rcS
19test -e /proc/cpu/alignment -a -n "$ALIGN" -a "$ALIGN" -ge 0 -a "$ALIGN" -lt 6 &&
20 echo "$ALIGN" >/proc/cpu/alignment