From: Michael Ellerman Date: Thu, 17 Jul 2008 04:46:00 +0000 (+1000) Subject: powerpc: Use WARN_ON(1) instead of __WARN() X-Git-Tag: upstream/snapshot3+hdmi~24148^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1856c020402f602b2bd26bcc9b77250304565b7e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- 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),