OSDN Git Service

ARM: allow alignment fault mode to be configured at kernel boot
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 20 Feb 2010 16:13:29 +0000 (16:13 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 20 Feb 2010 16:20:49 +0000 (16:20 +0000)
commitd944d549aa86e08cba080396513234cf048fee1f
tree53d825ec3441de0bddf48ba34304510497e26343
parent0fa11802e0dcbd4e211a9310500bf52d701b9c1b
ARM: allow alignment fault mode to be configured at kernel boot

Some glibc versions intentionally create lots of alignment faults in
their gconv code, which if not fixed up, results in segfaults during
boot.  This can prevent systems booting properly.

There is no clear hard-configurable default for this; the desired
default depends on the nature of the userspace which is going to be
booted.

So, provide a way for the alignment fault handler to be configured via
the kernel command line.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Documentation/kernel-parameters.txt
arch/arm/mm/alignment.c