[MIPS] Check for GCC r10k-cache-barrier support
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 15 Mar 2008 11:28:51 +0000 (12:28 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 1 Apr 2008 14:46:33 +0000 (15:46 +0100)
commit82933342c3b157c93f4b09199bcde8f2e961dff6
treee6b83c578de0d2191a3775a28ea5ae16dd92b95f
parenta05e623f63f7ce2d6b334eb3d7ecb449b907b429
[MIPS] Check for GCC r10k-cache-barrier support

Check whether gcc supports -mr10-cache-barrier=1 and issue a cleaner
error message if not. This option is needed to build working SGI IP28
kernels.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile