3.10-stable review patch. If anyone has any objections, please let me know.
------------------ From: Richard Weinberger <rich...@nod.at> commit f911d731054ab3d82ee72a16b889e17ca3a2332a upstream. futex_atomic_cmpxchg_inatomic() does not work on UML because it triggers a copy_from_user() in kernel context. On UML copy_from_user() can only be used if the kernel was called by a real user space process such that UML can use ptrace() to fetch the value. Reported-by: Miklos Szeredi <mik...@szeredi.hu> Suggested-by: Geert Uytterhoeven <ge...@linux-m68k.org> Signed-off-by: Richard Weinberger <rich...@nod.at> Tested-by: Daniel Walter <d.wal...@0x90.at> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/um/Kconfig.common | 1 + 1 file changed, 1 insertion(+) --- a/arch/um/Kconfig.common +++ b/arch/um/Kconfig.common @@ -8,6 +8,7 @@ config UML default y select HAVE_GENERIC_HARDIRQS select HAVE_UID16 + select HAVE_FUTEX_CMPXCHG if FUTEX select GENERIC_IRQ_SHOW select GENERIC_CPU_DEVICES select GENERIC_IO -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/