Re: Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected

2013-10-18 Thread Michael S. Tsirkin
On Fri, Oct 18, 2013 at 10:21:16PM +0800, Axel Lin wrote: > 2013/10/18 Michael S. Tsirkin : > > On Fri, Oct 18, 2013 at 05:27:55PM +0800, Axel Lin wrote: > >> Hi Michael, > >> > >> I got below build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected. &

Re: Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected

2013-10-18 Thread Axel Lin
2013/10/18 Michael S. Tsirkin : > On Fri, Oct 18, 2013 at 05:27:55PM +0800, Axel Lin wrote: >> Hi Michael, >> >> I got below build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected. >> Also got the same build error if CONFIG_PROVE_LOCKING is selected. >> >

Re: Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected

2013-10-18 Thread Michael S. Tsirkin
On Fri, Oct 18, 2013 at 05:27:55PM +0800, Axel Lin wrote: > Hi Michael, > > I got below build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected. > Also got the same build error if CONFIG_PROVE_LOCKING is selected. > > Seems this issue is introduced by commit 662bbcb2

Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected

2013-10-18 Thread Axel Lin
Hi Michael, I got below build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected. Also got the same build error if CONFIG_PROVE_LOCKING is selected. Seems this issue is introduced by commit 662bbcb2747c2 "mm, sched: Allow uaccess in atomic with pagefault_disable()". arch/arm/ke