bug fix in arch/powerpc/mm/tlb_nohash_low.S
PATCH 1/1 bug fix in arch/powerpc/mm/tlb_nohash_low.S
File arch/powerpc/mm/tlb_nohash_low.S defines various processor specific low level TLB invalidation. Most all family of validations are grouped via pre-processor defines with the intent we error out if we reach the end and our platform is not represented. Given this, the last few lines of the file should look similar to the following.... << SNIP >>
1: wrtee r10
blr
#else
#error Unsupported processor type !
#endif
However, the #else is incorrectly written as #elif. On some of the newer compilers/assemblers, this will not successfully assemble and will cause an error.
---
arch/powerpc/mm/tlb_nohash_low.S +1 -1
@@ -161,6 +161,6 @@ isync 1: wrtee r10 blr -#elif +#else #error Unsupported processor type ! #endif
Signature · 2 lines
Torez Smith IBM Linux Technology Center
Quoted 9 lines · Torez Smith
File
arch/powerpc/mm/tlb_nohash_low.Sdefines various processor specific low level TLB invalidation. Most all family of validations are grouped via pre-processor defines with the intent we error out if we reach the end and our platform is not represented. Given this, the last few lines of the file should look similar to the following.... << SNIP >>
1: wrtee r10
blr
#else
#error Unsupported processor type !
#endifHowever, the #else is incorrectly written as #elif. On some of the newer compilers/assemblers, this will not successfully assemble and will cause an error.
Thanks, but it's been fixed already :-)
See commit b62c31ae401c6df25c61b206681a6e904ef97169.
Cheers,
Ben.
Hi Ben,
Quoted 4 lines · On Mon, 18 May 2009 15:12:03 +1000 Benjamin Herrenschmidt…
Thanks, but it's been fixed already :-)
See commit
b62c31ae401c6df25c61b206681a6e904ef97169.
Should this be submitted for 2.6.29 stable?
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 9 lines · Stephen Rothwell
Hi Ben,
Quoted 4 lines · On Mon, 18 May 2009 15:12:03 +1000 Benjamin Herrenschmidt…
Thanks, but it's been fixed already :-)
See commit
b62c31ae401c6df25c61b206681a6e904ef97169.Should this be submitted for 2.6.29 stable?
Probably, will do.
Cheers,
Ben.