Palmer Dabbelt 66d987b80d RISC-V: Take text_mutex in ftrace_init_nop()
[ Upstream commit 66d18dbda8469a944dfec6c49d26d5946efba218 ]

Without this we get lockdep failures.  They're spurious failures as SMP isn't
up when ftrace_init_nop() is called.  As far as I can tell the easiest fix is
to just take the lock, which also seems like the safest fix.

Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:18:14 +02:00
..
2020-05-20 08:20:13 +02:00
2017-09-26 15:26:49 -07:00
2019-08-30 11:04:19 -07:00
2020-01-14 20:08:34 +01:00
2019-10-28 00:46:01 -07:00
2019-10-28 00:46:01 -07:00
2019-10-28 00:46:01 -07:00