summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/page.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-03-23 13:33:03 +0100
committerPaul Mackerras <paulus@samba.org>2006-03-27 05:48:12 +0200
commitdd4d7bfad635dddc56b74dab1894ef01c8c836e1 (patch)
tree4ce50568ffa94cd01803c57881d59c8bacda6dbe /include/asm-powerpc/page.h
parent[PATCH] powerpc: Make BUG_ON & WARN_ON play nice with compile-time optimisations (diff)
downloadlinux-dd4d7bfad635dddc56b74dab1894ef01c8c836e1.tar.xz
linux-dd4d7bfad635dddc56b74dab1894ef01c8c836e1.zip
[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>
Diffstat (limited to 'include/asm-powerpc/page.h')
0 files changed, 0 insertions, 0 deletions