From: Michael Ellerman Date: Thu, 23 Mar 2006 12:33:03 +0000 (+1100) Subject: [PATCH] powerpc: Change firmware_has_feature() to a macro X-Git-Tag: v2.6.17-rc1~165^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd4d7bfad635dddc56b74dab1894ef01c8c836e1;p=pandora-kernel.git [PATCH] powerpc: Change firmware_has_feature() to a macro So that we can use firmware_has_feature() in a BUG_ON() and have the compiler elide the code entirely if the feature can never be set, change firmware_has_feature to a macro. Unfortunate, but necessary at least until GCC bug #26724 is fixed. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed