From: kettenis Date: Sun, 17 Aug 2008 14:25:19 +0000 (+0000) Subject: Garbage collect stupid delay loop. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=96dd70587c5f39b6efb007f0f081ed47ac956af8;p=openbsd Garbage collect stupid delay loop. --- diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index 4b1a0d47d08..96d460446d2 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.152 2008/08/10 14:13:05 kettenis Exp $ */ +/* $OpenBSD: locore.s,v 1.153 2008/08/17 14:25:19 kettenis Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -9042,20 +9042,6 @@ ENTRY(delay) ! %o0 = n retl nop - /* - * If something's wrong with the standard setup do this stupid loop - * calibrated for a 143MHz processor. - */ -Lstupid_delay: - set 142857143/MICROPERSEC, %o1 -Lstupid_loop: - brnz,pt %o1, Lstupid_loop - dec %o1 - brnz,pt %o0, Lstupid_delay - dec %o0 - retl - nop - ENTRY(setjmp) save %sp, -CC64FSZ, %sp ! Need a frame to return to. flushw