diff options
author | dg <dg@FreeBSD.org> | 1995-02-10 07:17:46 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-02-10 07:17:46 +0000 |
commit | 4a3234f042a04447870dc0eda563a300d653a442 (patch) | |
tree | 321d7ad7aa4ec1c30943fd7014ea2802d1c87b51 /sys | |
parent | 34a3255a350dacd34768b18fe97e79493487a201 (diff) | |
download | FreeBSD-src-4a3234f042a04447870dc0eda563a300d653a442.zip FreeBSD-src-4a3234f042a04447870dc0eda563a300d653a442.tar.gz |
Removed obsolete and unused vmtime() function.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 20 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 20 |
2 files changed, 2 insertions, 38 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 1e2fef0..65e972d 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.104 1995/01/25 21:40:17 bde Exp $ + * $Id: machdep.c,v 1.105 1995/01/29 01:18:51 ats Exp $ */ #include "npx.h" @@ -444,24 +444,6 @@ identifycpu() } } -#ifdef PGINPROF -/* - * Return the difference (in microseconds) - * between the current time and a previous - * time as represented by the arguments. - * If there is a pending clock interrupt - * which has not been serviced due to high - * ipl, return error code. - */ -/*ARGSUSED*/ -vmtime(otime, olbolt, oicr) - register int otime, olbolt, oicr; -{ - - return (((time.tv_sec-otime)*60 + lbolt-olbolt)*16667); -} -#endif - extern char kstack[]; /* diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 1e2fef0..65e972d 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.104 1995/01/25 21:40:17 bde Exp $ + * $Id: machdep.c,v 1.105 1995/01/29 01:18:51 ats Exp $ */ #include "npx.h" @@ -444,24 +444,6 @@ identifycpu() } } -#ifdef PGINPROF -/* - * Return the difference (in microseconds) - * between the current time and a previous - * time as represented by the arguments. - * If there is a pending clock interrupt - * which has not been serviced due to high - * ipl, return error code. - */ -/*ARGSUSED*/ -vmtime(otime, olbolt, oicr) - register int otime, olbolt, oicr; -{ - - return (((time.tv_sec-otime)*60 + lbolt-olbolt)*16667); -} -#endif - extern char kstack[]; /* |