From: Sakari Ailus Date: Mon, 3 May 2010 15:42:46 +0000 (-0300) Subject: V4L/DVB: V4L: Events: Replace bad WARN_ON() with assert_spin_locked() X-Git-Tag: v2.6.35-rc1~480^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3cd385a9c95e1ea90e886448ab1e83ee2fc7e51;p=pandora-kernel.git V4L/DVB: V4L: Events: Replace bad WARN_ON() with assert_spin_locked() spin_is_locked() always returns zero when spinlock debugging is disabled on a single CPU machine. Replace WARN_ON() with assert_spin_locked(). Thanks to Laurent Pinchart for spotting this! Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed