summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/stand/boot/time.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-05-11 07:18:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-05-11 07:18:18 +0000
commitee0b8c22b04f226d8eff2ad95e5bcd193547e190 (patch)
tree6a4a0c2178068046fce99c7d59198d428c53da47 /sys/arch/socppc/stand/boot/time.c
parente6cdaa9711765d73b15cee91499c2d5724d88560 (diff)
socppc makes an extended visit to the bigbucket.
ok kettenis
Diffstat (limited to 'sys/arch/socppc/stand/boot/time.c')
-rw-r--r--sys/arch/socppc/stand/boot/time.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/arch/socppc/stand/boot/time.c b/sys/arch/socppc/stand/boot/time.c
deleted file mode 100644
index 18c702193cc..00000000000
--- a/sys/arch/socppc/stand/boot/time.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* $OpenBSD: time.c,v 1.3 2015/01/20 04:41:01 krw Exp $ */
-#include <sys/types.h>
-
-#include "libsa.h"
-
-time_t
-getsecs(void)
-{
- uint32_t count;
-
- __asm volatile ("mftb %0" : "=r" (count));
- return (count / 66666666);
-}