]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: make configuration of userspace Thumb support an expert option
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 19 May 2017 15:35:56 +0000 (16:35 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 30 May 2017 10:56:14 +0000 (11:56 +0100)
commit1515b186c2359996b50241c1c6f79ff933d5112a
treeef5d9314b0addfdfc1fcd939c4dd02206d551596
parent801f19b9515fb61e8b2400f5555460f55f22571c
ARM: make configuration of userspace Thumb support an expert option

David Mosberger reports random segfaults and other problems when running
his buildroot userspace.  It turns out that his kernel did not have
support for Thumb userspace, nor did his application, but glibc made use
of Thumb instructions in glibc.

The kernel Thumb support option already recommends being enabled, and
is also so biased, but clearly this is not enough of a recommendation.

So, hide this behind CONFIG_EXPERT as well, and include a note to
indicate the potential issues if it's turned off and userspace Thumb
mode is made use of.

Reported-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/Kconfig