linux/arch/um
Johannes Berg 8eacd6fca4 um: Remove locking in deactivate_all_fds()
Not only does the locking contradict the comment, and as
the comment says is pointless and actually harmful (all
the actual OS threads have exited already), but it also
causes crashes when lockdep is enabled, because calling
into the spinlock calls into lockdep, which then tries
to determine the current task, which no longer exists.

Remove the locking to let UML shut down cleanly in case
lockdep is enabled.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-07-02 23:27:05 +02:00
..
configs um: defconfig: Cleanup from old Kconfig options 2017-09-13 22:32:51 +02:00
drivers um: Fix IRQ controller regression on console read 2019-07-02 23:26:52 +02:00
include um: Timer code cleanup 2019-07-02 23:27:00 +02:00
kernel um: Remove locking in deactivate_all_fds() 2019-07-02 23:27:05 +02:00
os-Linux um: Timer code cleanup 2019-07-02 23:27:00 +02:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore um: tell git to ignore generated files 2010-03-06 11:26:28 -08:00
Kconfig arch: um: Kconfig: pedantic indention cleanups 2019-05-07 23:18:28 +02:00
Kconfig.debug um: Make GCOV depend on !KCOV 2018-12-27 22:48:19 +01:00
Makefile um: remove unused filechk_gen_header in Makefile 2018-12-22 00:35:20 +09:00
Makefile-os-Linux x86, um: get rid of arch/um/os symlink 2008-10-22 22:55:22 -07:00
Makefile-skas