From 96dd70587c5f39b6efb007f0f081ed47ac956af8 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 17 Aug 2008 14:25:19 +0000 Subject: [PATCH] Garbage collect stupid delay loop. --- sys/arch/sparc64/sparc64/locore.s | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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 -- 2.20.1