diff options
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh')
| -rw-r--r-- | openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh | 20 |
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'). | ||
| 17 | ALIGN=1 | ||
| 18 | . /etc/default/rcS | ||
| 19 | test -e /proc/cpu/alignment -a -n "$ALIGN" -a "$ALIGN" -ge 0 -a "$ALIGN" -lt 6 && | ||
| 20 | echo "$ALIGN" >/proc/cpu/alignment | ||
