aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-07-17 14:46:00 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-22 10:39:34 +1000
commit1856c020402f602b2bd26bcc9b77250304565b7e (patch)
treeb9a1125f81f08d781442d1d6255b7b2c8d4248b0 /arch/powerpc/lib
parent6fdc9f5076e0f6018e1d9250c6673f812b556d90 (diff)
downloadkernel_samsung_crespo-1856c020402f602b2bd26bcc9b77250304565b7e.zip
kernel_samsung_crespo-1856c020402f602b2bd26bcc9b77250304565b7e.tar.gz
kernel_samsung_crespo-1856c020402f602b2bd26bcc9b77250304565b7e.tar.bz2
powerpc: Use WARN_ON(1) instead of __WARN()
__WARN() is not defined for all configs, use WARN_ON(1) instead. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r--arch/powerpc/lib/feature-fixups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/feature-fixups.c b/arch/powerpc/lib/feature-fixups.c
index 4e43702..8c5a03b 100644
--- a/arch/powerpc/lib/feature-fixups.c
+++ b/arch/powerpc/lib/feature-fixups.c
@@ -99,7 +99,7 @@ void do_feature_fixups(unsigned long value, void *fixup_start, void *fixup_end)
for (; fcur < fend; fcur++) {
if (patch_feature_section(value, fcur)) {
- __WARN();
+ WARN_ON(1);
printk("Unable to patch feature section at %p - %p" \
" with %p - %p\n",
calc_addr(fcur, fcur->start_off),