summaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm/mips.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/asm/mips.pl')
-rw-r--r--crypto/bn/asm/mips.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/asm/mips.pl b/crypto/bn/asm/mips.pl
index 51a4b5fb36..bff624d186 100644
--- a/crypto/bn/asm/mips.pl
+++ b/crypto/bn/asm/mips.pl
@@ -88,7 +88,7 @@ if ($flavour =~ /64|n32/i) {
$SZREG=4;
$REG_S="sw";
$REG_L="lw";
- $code=".set mips2\n";
+ $code="#if !(defined (__mips_isa_rev) && (__mips_isa_rev >= 6))\n.set mips2\n#endif\n";
}
# Below is N32/64 register layout used in the original module.