Garbage collect stupid delay loop.
authorkettenis <kettenis@openbsd.org>
Sun, 17 Aug 2008 14:25:19 +0000 (14:25 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 17 Aug 2008 14:25:19 +0000 (14:25 +0000)
sys/arch/sparc64/sparc64/locore.s

index 4b1a0d4..96d4604 100644 (file)
@@ -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