Skip to content

Commit

Permalink
powerpc: fix for long standing bug noticed by gcc 4.4.0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Kumar Gala committed Apr 23, 2009
1 parent 323d23a commit b62c31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/tlb_nohash_low.S
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,6 @@ ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX)
isync
1: wrtee r10
blr
#elif
#else
#error Unsupported processor type !
#endif

0 comments on commit b62c31a

Please sign in to comment.