summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-01-09 23:43:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-01-09 23:43:18 +0000
commit5887c974279baac9cdd4458da6877455d6cca6fc (patch)
treef541530cf80df2fcc7e8a66036aaa053a02f0004
parent37b05ee009caca11d0f57263b3a3902de27bca0c (diff)
Move more R5000 code behind proper #ifdef stanzas.
-rw-r--r--sys/arch/mips64/mips64/tlbhandler.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips64/mips64/tlbhandler.S b/sys/arch/mips64/mips64/tlbhandler.S
index 5db098abca8..7119a62d1a7 100644
--- a/sys/arch/mips64/mips64/tlbhandler.S
+++ b/sys/arch/mips64/mips64/tlbhandler.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlbhandler.S,v 1.25 2009/12/12 20:07:10 miod Exp $ */
+/* $OpenBSD: tlbhandler.S,v 1.26 2010/01/09 23:43:17 miod Exp $ */
/*
* Copyright (c) 1995-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -124,6 +124,7 @@ tlb_load:
/*---------------------------------------------------------------- xtlb_miss
* Low level XTLB exception handler.
*/
+#if defined(CPU_R5000) || defined(CPU_RM7000)
.globl xtlb_miss_err_r5k
.ent xtlb_miss_err_r5k, 0
xtlb_miss_err_r5k:
@@ -135,6 +136,7 @@ xtlb_miss_err_r5k:
j k_tlb_inv
nop
.end xtlb_miss_err_r5k
+#endif /* CPU_R5000 || CPU_RM7000 */
.globl xtlb_miss
.ent xtlb_miss, 0