diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-04-23 08:56:11 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-04-23 09:52:16 -0400 |
commit | b62c31ae401c6df25c61b206681a6e904ef97169 (patch) | |
tree | 42ae15a818eccb959353816b97eec9db572ae77b /arch/powerpc/mm | |
parent | 323d23aeac4918c7a540b597a26fa7a67645593a (diff) |
powerpc: fix for long standing bug noticed by gcc 4.4.0
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>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/tlb_nohash_low.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/tlb_nohash_low.S b/arch/powerpc/mm/tlb_nohash_low.S index 788b87c36f77..3037911279b1 100644 --- a/arch/powerpc/mm/tlb_nohash_low.S +++ b/arch/powerpc/mm/tlb_nohash_low.S | |||
@@ -191,6 +191,6 @@ ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX) | |||
191 | isync | 191 | isync |
192 | 1: wrtee r10 | 192 | 1: wrtee r10 |
193 | blr | 193 | blr |
194 | #elif | 194 | #else |
195 | #error Unsupported processor type ! | 195 | #error Unsupported processor type ! |
196 | #endif | 196 | #endif |