Re: [v2 PATCH] arm64: convert patch_lock to raw lock

2015-10-07 Thread Will Deacon
On Tue, Oct 06, 2015 at 02:12:31PM -0700, Yang Shi wrote: > When running kprobe test on arm64 rt kernel, it reports the below warning: > > root@qemu7:~# modprobe kprobe_example > BUG: sleeping function called from invalid context at > kernel/locking/rtmutex.c:917 > in_atomic(): 0, irqs_disabled()

[v2 PATCH] arm64: convert patch_lock to raw lock

2015-10-06 Thread Yang Shi
When running kprobe test on arm64 rt kernel, it reports the below warning: root@qemu7:~# modprobe kprobe_example BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atomic(): 0, irqs_disabled(): 128, pid: 484, name: modprobe CPU: 0 PID: 484 Comm: modprobe Not tai