From: Alexander Gordeev Date: Thu, 13 Jan 2011 01:00:54 +0000 (-0800) Subject: pps: use BUG_ON for kernel API safety checks X-Git-Tag: v2.6.38-rc1~287 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f347c9faf53cfb953e4d529e6e632482214e62;p=pandora-kernel.git pps: use BUG_ON for kernel API safety checks This way less overhead is involved when running production kernel. If you want to debug a pps client module please define DEBUG to enable the checks. Signed-off-by: Alexander Gordeev Acked-by: Rodolfo Giometti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed