[PATCH] ARM: clean-up common multi-platform kconfig options

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Dec 7 13:02:15 EST 2013


On Fri, Dec 06, 2013 at 05:41:33PM +0100, Arnd Bergmann wrote:
> The above code can already be simplified a lot, since the pre-v6 and
> pre-v6k v6 cases are dead code. There are comments in Kconfig like this:
> 
> config TLS_REG_EMUL
>         bool
>         select NEED_KUSER_HELPERS
>         help
>           An SMP system using a pre-ARMv6 processor (there are apparently
>           a few prototypes like that in existence) and therefore access to
>           that required register must be emulated.

Arnd,

If you look at where this is selected, it's selected for SMP on pre-ARMv6
(okay, I doubt anyone cares about that) _or_ for uclinux on pre-ARMv6
since pre-ARMv6 can't do the vectors page trick.

So getting rid of the above takes away __thread support from userland
uclinux on these CPUs.  Is that something you really want to do?



More information about the linux-arm-kernel mailing list