# Re: \[PATCH\] arm: kprobe: replace patch\_lock to raw lock

- From: Sebastian Andrzej Siewior \<bigeasy@linutronix.de\>
- Date: 2016-12-01 14:13:52 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2016/12/4887153
- Thread: https://ratatoskr.run/linux-arm-kernel/2016/11/4872343/t.md

```text
On 2016-11-10 16:17:55 [-0800], Yang Shi wrote:
> 
> Since patch_text_stop_machine() is called in stop_machine() which disables IRQ,
> sleepable lock should be not used in this atomic context, so replace patch_lock
> to raw lock.
> 
> Signed-off-by: Yang Shi <redacted>

This can also go upstream.
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Sebastian
```
