diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2004-06-08 18:06:54 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2004-06-08 18:06:54 +0000 |
commit | ccb7ab6c3e18598f0f22a10e67c229e2dd8dd71b (patch) | |
tree | 729f5c856988aaa2220230de93cdbd85f35462c9 /sys/arch/sparc | |
parent | 87400b6851e1d99c3d077a270ccd61cc765bc6a7 (diff) |
No need to update runtime in cpu_switch. It's updated in mi_switch just
after the return from cpu_switch.
ok deraadt@ miod@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/locore.s | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s index 85f079835bb..5dbc64a1ab3 100644 --- a/sys/arch/sparc/sparc/locore.s +++ b/sys/arch/sparc/sparc/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.57 2003/04/29 21:19:25 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.58 2004/06/08 18:06:53 art Exp $ */ /* $NetBSD: locore.s,v 1.73 1997/09/13 20:36:48 pk Exp $ */ /* @@ -4513,7 +4513,6 @@ Lsw_panic_srun: * IT MIGHT BE WORTH SAVING BEFORE ENTERING idle TO AVOID HAVING TO * SAVE LATER WHEN SOMEONE ELSE IS READY ... MUST MEASURE! */ - .globl _C_LABEL(runtime) .globl _C_LABEL(time) ENTRY(cpu_switch) /* @@ -4556,15 +4555,6 @@ ENTRY(cpu_switch) Lsw_scan: nop; nop; nop ! paranoia - /* - * We're about to run a (possibly) new process. Set runtime - * to indicate its start time. - */ - sethi %hi(_C_LABEL(time)), %o0 - ldd [%o0 + %lo(_C_LABEL(time))], %o2 - sethi %hi(_C_LABEL(runtime)), %o0 - std %o2, [%o0 + %lo(_C_LABEL(runtime))] - ld [%g2 + %lo(_C_LABEL(whichqs))], %o3 /* |