diff options
author | Jiri Kosina <jkosina@suse.cz> | 2018-08-28 08:55:14 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-08-30 13:02:30 +0200 |
commit | 9222f606506c5f8ca2c8b8c939d59ed3e6ac4148 (patch) | |
tree | fd08042dd7d4ce57105b764be0c5fc0082f7a3d4 /arch/openrisc | |
parent | f12d11c5c184626b4befdee3d573ec8237405a33 (diff) | |
download | linux-9222f606506c5f8ca2c8b8c939d59ed3e6ac4148.tar.bz2 |
x86/alternatives: Lockdep-enforce text_mutex in text_poke*()
text_poke() and text_poke_bp() must be called with text_mutex held.
Put proper lockdep anotation in place instead of just mentioning the
requirement in a comment.
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/nycvar.YFH.7.76.1808280853520.25787@cbobk.fhfr.pm
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions