summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/stand/boot/time.c
diff options
context:
space:
mode:
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);
-}