]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00278822 ARM: imx_v7_defconfig: disable CONFIG_SWP_EMULATE
authorShengjiu Wang <b02247@freescale.com>
Mon, 9 Sep 2013 10:54:25 +0000 (18:54 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 15:47:56 +0000 (17:47 +0200)
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 <b02247@freescale.com>
arch/arm/configs/imx_v7_defconfig

index df2b853e3b410f21fecf5d18c0f147f99420bf76..207d38cc5065e7b161d0c7eb37d385216c1c1648 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_SOC_IMX53=y
 CONFIG_SOC_IMX6Q=y
 CONFIG_SOC_IMX6SL=y
 CONFIG_SOC_VF610=y
+# CONFIG_SWP_EMULATE is not set
 CONFIG_SMP=y
 CONFIG_VMSPLIT_2G=y
 CONFIG_PREEMPT_VOLUNTARY=y