From: Ilpo Järvinen Date: Sat, 26 Jul 2008 04:43:18 +0000 (-0700) Subject: net: convert BUG_TRAP to generic WARN_ON X-Git-Tag: v2.6.27-rc1~75^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=547b792cac0a038b9dbf958d3c120df3740b5572;p=pandora-kernel.git net: convert BUG_TRAP to generic WARN_ON Removes legacy reinvent-the-wheel type thing. The generic machinery integrates much better to automated debugging aids such as kerneloops.org (and others), and is unambiguous due to better naming. Non-intuively BUG_TRAP() is actually equal to WARN_ON() rather than BUG_ON() though some might actually be promoted to BUG_ON() but I left that to future. I could make at least one BUILD_BUG_ON conversion. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- Reading git-diff-tree failed