MLK-11676 ARM: imx_v7_defconfig: disable CONFIG_SWP_EMULATE
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 9 Oct 2015 08:56:41 +0000 (16:56 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit49b832af518259ea2aba3c61ff45dd49c877d7d8
tree0d49ff728a9c9c08b53f26a15fdde8755c89348e
parentefa4a96ecc0f4520ebde7e704deeae456582aff7
MLK-11676 ARM: imx_v7_defconfig: disable CONFIG_SWP_EMULATE

According to the help text in the config SWP_EMULATE in arch/arm/mm/Kconfig:

"In some older versions of glibc [<=2.8] SWP is used during futex trylock()
operations with the assumption that the code will not be preempted. This
invalid assumption may be more likely to fail with SWP emulation enabled,
leading to deadlock of the user application."

The audio codec toolchain version is gcc-4.1.1-glibc-2.4, we need turn off
the CONFIG_SWP_EMULATE in the imx_v7_defconfig.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
arch/arm/configs/imx_v7_defconfig
arch/arm/mm/Kconfig