remove local version of mstohz() now that <sys/param.h> provides it.

This commit is contained in:
christos 2019-09-28 15:11:53 +00:00
parent 63ec74c9e4
commit 09ba5bf49a
2 changed files with 2 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.31 2019/08/20 12:33:04 riastradh Exp $ */
/* $NetBSD: param.h,v 1.32 2019/09/28 15:11:53 christos Exp $ */
#ifdef __x86_64__
@ -126,8 +126,6 @@
#define btop(x) x86_btop(x)
#define ptob(x) x86_ptob(x)
#define mstohz(ms) ((ms + 0UL) * hz / 1000)
#else /* __x86_64__ */
#include <i386/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.60 2019/05/15 16:59:10 christos Exp $ */
/* $NetBSD: param.h,v 1.61 2019/09/28 15:11:53 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@ -229,11 +229,6 @@ extern void delay(unsigned int);
#define DELAY(n) delay(n)
#endif /* __HIDE_DELAY */
#ifdef __arch64__
/* If we're using a 64-bit kernel use 64-bit math */
#define mstohz(ms) ((ms + 0UL) * hz / 1000)
#endif
/* Keep this a const so compiler optimization is done */
extern const int cputyp;