From: Arjan van de Ven Date: Fri, 28 Nov 2008 16:36:09 +0000 (-0800) Subject: debug warnings: print the DMI board info name in a WARN/WARN_ON X-Git-Tag: v2.6.29-rc1~572^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd89bb29a01503c5cffa367eccb0b356f910cb8d;p=pandora-kernel.git debug warnings: print the DMI board info name in a WARN/WARN_ON Impact: extend WARN_ON() output with DMI_PRODUCT_NAME It's very useful for many low level WARN_ON's to find out which motherboard has the broken BIOS etc... this patch adds a printk to the WARN_ON code for this. On architectures without DMI, gcc should optimize the code out. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed