]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc: fix for long standing bug noticed by gcc 4.4.0
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 23 Apr 2009 12:56:11 +0000 (22:56 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:15 +0000 (09:40 -0700)
commit b62c31ae401c6df25c61b206681a6e904ef97169 upstream.

Previous gcc versions didn't notice this because one of the preceding
#ifs always evaluated to true.

gcc 4.4.0 produced this error:

arch/powerpc/mm/tlb_nohash_low.S:206:6: error: #elif with no expression

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/mm/tlb_nohash_low.S

index f900a39e6ec409f9a6c7789a5fbf5747777e6ffc..3bc41c390dc23259b72a63acb8d358e82459d3a6 100644 (file)
@@ -161,6 +161,6 @@ _GLOBAL(_tlbil_va)
        isync
 1:     wrtee   r10
        blr
-#elif
+#else
 #error Unsupported processor type !
 #endif