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

- From: Shi, Yang \<hidden\>
- Date: 2016-12-05 18:16:42 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2016/12/4889314
- Thread: https://ratatoskr.run/linux-arm-kernel/2016/11/4872343/t.md

```text
On 12/1/2016 6:13 AM, Sebastian Andrzej Siewior wrote:
> 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>

Yes, thanks for acking.

Russell,

Could you please consider this patch?

Thanks,
Yang

>
> Sebastian
>
```
