On 23 Dec 2014 00:27, "Bruno Prémont" wrote:
>
> On Mon, 22 Dec 2014 08:46:48 -0500 Rob Clark wrote:
> > On Sun, Dec 21, 2014 at 11:43 AM, Bruno Prémont wrote:
> > > On !SMP systems spinlocks do not exist. Thus checking of they
> > > are active will always fail.
> > >
> > > Use
> > > assert_sp
On Mon, 22 Dec 2014 08:46:48 -0500 Rob Clark wrote:
> On Sun, Dec 21, 2014 at 11:43 AM, Bruno Prémont wrote:
> > On !SMP systems spinlocks do not exist. Thus checking of they
> > are active will always fail.
> >
> > Use
> > assert_spin_locked(lock);
> > instead of
> > BUG_ON(!spin_is_locked(lo
On Sun, Dec 21, 2014 at 11:43 AM, Bruno Prémont
wrote:
> On !SMP systems spinlocks do not exist. Thus checking of they
> are active will always fail.
>
> Use
> assert_spin_locked(lock);
> instead of
> BUG_ON(!spin_is_locked(lock));
> to not BUG() on all UP systems.
>
> Signed-off-by: Bruno Pr
On !SMP systems spinlocks do not exist. Thus checking of they
are active will always fail.
Use
assert_spin_locked(lock);
instead of
BUG_ON(!spin_is_locked(lock));
to not BUG() on all UP systems.
Signed-off-by: Bruno Prémont
---
drivers/gpu/drm/omapdrm/omap_irq.c | 2 +-
1 file changed, 1 i