]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Avoid building unsafe kernels on OMAP2 and MX3
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Feb 2011 16:33:46 +0000 (16:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Feb 2011 18:36:56 +0000 (18:36 +0000)
commitd621f5bb80d57bb669cfbb64e9a2239756c0cb24
tree62919ba3d4b04787b21bf685401360156eecfd57
parent869003efd1b68e37d3711bba73fdc4b999e3a7b7
ARM: Avoid building unsafe kernels on OMAP2 and MX3

OMAP2 (armv6) and MX3 turn off support for the V6K instructions, which
when they include support for SMP kernels means that the resulting
kernel is unsafe on SMP and can result in corrupted filesystems as we
end up using unsafe bitops.

Re-enable the use of V6K instructions on such kernels, and let such
kernels running on V6 CPUs eat undefined instruction faults which will
be much safer than filesystem corruption.  Next merge window we can fix
this properly (as it requires a much bigger set of changes.)

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Kconfig