diff options
author | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-08-25 03:21:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:14:50 +0300 |
commit | f959196c828ec7a88f838f6888552dc4dee63c8b (patch) | |
tree | 02195dadcb6cd944616844e0cfb01fd9daac8fa2 /arch/s390 | |
parent | 66dc19456dc9bd2e4afc118c98c844f02ed3183c (diff) | |
download | linux-f959196c828ec7a88f838f6888552dc4dee63c8b.tar.xz |
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>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions