diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-25 20:59:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-25 20:59:46 +0000 |
commit | ca308c11ec65dd43d8b9a8592692d0479e41c60b (patch) | |
tree | 43585b19f0034825f92c1905db021bb6eac1075f /sys/arch | |
parent | 92ee70b12dea2963d97e9003fa1da55a09ba80ac (diff) |
Don't bother returning a value in *_InvalidateICache(), as it's supposed to be
a void function.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mips64/mips64/cache_r10k.S | 5 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/cache_r5k.S | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/mips64/mips64/cache_r10k.S b/sys/arch/mips64/mips64/cache_r10k.S index e75c65965db..6b3a89ff058 100644 --- a/sys/arch/mips64/mips64/cache_r10k.S +++ b/sys/arch/mips64/mips64/cache_r10k.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cache_r10k.S,v 1.9 2009/08/06 21:06:30 miod Exp $ */ +/* $OpenBSD: cache_r10k.S,v 1.10 2009/12/25 20:59:45 miod Exp $ */ /* * Copyright (c) 2004 Opsycon AB (www.opsycon.se) @@ -279,7 +279,6 @@ END(Mips10k_SyncCache) * * Side effects: * The contents of the L1 Instruction cache is flushed. - * Must not touch v0. * *---------------------------------------------------------------------------- */ @@ -302,7 +301,7 @@ LEAF(Mips10k_InvalidateICache, 0) PTR_ADDU a0, 64 j ra - move v0, zero + nop END(Mips10k_InvalidateICache) /*---------------------------------------------------------------------------- diff --git a/sys/arch/mips64/mips64/cache_r5k.S b/sys/arch/mips64/mips64/cache_r5k.S index 30d2c3be829..a9b54934bbb 100644 --- a/sys/arch/mips64/mips64/cache_r5k.S +++ b/sys/arch/mips64/mips64/cache_r5k.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cache_r5k.S,v 1.26 2009/11/19 20:16:27 miod Exp $ */ +/* $OpenBSD: cache_r5k.S,v 1.27 2009/12/25 20:59:45 miod Exp $ */ /* * Copyright (c) 1998-2004 Opsycon AB (www.opsycon.se) @@ -526,7 +526,6 @@ END(Mips5k_SyncCache) * * Side effects: * The contents of the L1 Instruction cache is flushed. - * Must not touch v0. * *---------------------------------------------------------------------------- */ @@ -573,7 +572,7 @@ LEAF(Mips5k_InvalidateICache, 0) NOP10 #endif j ra - move v0, zero + nop END(Mips5k_InvalidateICache) /*---------------------------------------------------------------------------- |