Module Name: src Committed By: christos Date: Sat Sep 28 15:11:53 UTC 2019
Modified Files: src/sys/arch/amd64/include: param.h src/sys/arch/sparc64/include: param.h Log Message: remove local version of mstohz() now that <sys/param.h> provides it. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/include/param.h cvs rdiff -u -r1.60 -r1.61 src/sys/arch/sparc64/include/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/param.h diff -u src/sys/arch/amd64/include/param.h:1.31 src/sys/arch/amd64/include/param.h:1.32 --- src/sys/arch/amd64/include/param.h:1.31 Tue Aug 20 08:33:04 2019 +++ src/sys/arch/amd64/include/param.h Sat Sep 28 11:11:53 2019 @@ -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> Index: src/sys/arch/sparc64/include/param.h diff -u src/sys/arch/sparc64/include/param.h:1.60 src/sys/arch/sparc64/include/param.h:1.61 --- src/sys/arch/sparc64/include/param.h:1.60 Wed May 15 12:59:10 2019 +++ src/sys/arch/sparc64/include/param.h Sat Sep 28 11:11:53 2019 @@ -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;