diff options
| author | Jiri Kosina <[email protected]> | 2018-08-28 06:55:14 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-08-30 11:02:30 +0000 |
| commit | 9222f606506c5f8ca2c8b8c939d59ed3e6ac4148 (patch) | |
| tree | fd08042dd7d4ce57105b764be0c5fc0082f7a3d4 /arch/powerpc/lib/code-patching.c | |
| parent | x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit() (diff) | |
| download | kernel-9222f606506c5f8ca2c8b8c939d59ed3e6ac4148.tar.gz kernel-9222f606506c5f8ca2c8b8c939d59ed3e6ac4148.zip | |
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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
