Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev Include <sys/kernel.h> for hz.
details: https://anonhg.NetBSD.org/src/rev/2f4f2baa6eca
branches: trunk
changeset: 352325:2f4f2baa6eca
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Mar 25 22:09:45 2017 +0000
description:
Include <sys/kernel.h> for hz.
Compile test only. (no HP-IB devices here)
diffstat:
sys/arch/hp300/dev/ppi.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r b4f06824b943 -r 2f4f2baa6eca sys/arch/hp300/dev/ppi.c
--- a/sys/arch/hp300/dev/ppi.c Sat Mar 25 22:08:27 2017 +0000
+++ b/sys/arch/hp300/dev/ppi.c Sat Mar 25 22:09:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ppi.c,v 1.45 2014/07/25 08:10:33 dholland Exp $ */
+/* $NetBSD: ppi.c,v 1.46 2017/03/25 22:09:45 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -65,10 +65,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppi.c,v 1.45 2014/07/25 08:10:33 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppi.c,v 1.46 2017/03/25 22:09:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <sys/callout.h>
#include <sys/conf.h>
#include <sys/device.h>
@@ -486,7 +487,6 @@
static int
ppihztoms(int h)
{
- extern int hz;
int m = h;
if (m > 0)
@@ -497,7 +497,6 @@
static int
ppimstohz(int m)
{
- extern int hz;
int h = m;
if (h > 0) {
Home |
Main Index |
Thread Index |
Old Index