projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323d23a
)
powerpc: fix for long standing bug noticed by gcc 4.4.0
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 23 Apr 2009 12:56:11 +0000
(22:56 +1000)
committer
Kumar Gala
<galak@kernel.crashing.org>
Thu, 23 Apr 2009 13:52:16 +0000
(08:52 -0500)
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>
arch/powerpc/mm/tlb_nohash_low.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/tlb_nohash_low.S
b/arch/powerpc/mm/tlb_nohash_low.S
index 788b87c36f7795922ef312d8a305c46a6c512a0f..3037911279b197c088014eb9b17304ee26a9265c 100644
(file)
--- 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)
isync
1: wrtee r10
blr
-#el
if
+#el
se
#error Unsupported processor type !
#endif