Messages in this thread | | | Date | Tue, 12 Aug 2014 13:21:08 -0500 | Subject | Re: [PATCH] sgi-xp: Do not use BUG_ON(!spin_is_locked()) | From | Robin Holt <> |
| |
On Tue, Aug 12, 2014 at 2:35 AM, Sanjeev Sharma <sanjeev_sharma@mentor.com> wrote: > on some architecture spin_is_locked() always return false in > uniprocessor configuration and can therefore not be used > with BUG_ON.it would be advise to replace with > lockdep_assert_held(). > > Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com> Acked-by: Robin Holt <robinmholt@gmail.com>
| |