commit | dd4d7bfad635dddc56b74dab1894ef01c8c836e1 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Thu Mar 23 23:33:03 2006 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Mon Mar 27 14:48:12 2006 +1100 |
tree | 4ce50568ffa94cd01803c57881d59c8bacda6dbe | |
parent | e3f94b85f98a346c5eb0ac0d9539b71cb7057143 [diff] |
[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 <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>