Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch no need to include <machine/param.h> if <sys/param....
details: https://anonhg.NetBSD.org/src/rev/9021bc2b5c52
branches: trunk
changeset: 447374:9021bc2b5c52
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Jan 08 19:41:09 2019 +0000
description:
no need to include <machine/param.h> if <sys/param.h> already included
diffstat:
sys/arch/amiga/dev/bzivsc.c | 5 ++---
sys/arch/amiga/dev/bzsc.c | 5 ++---
sys/arch/amiga/dev/bztzsc.c | 5 ++---
sys/arch/amiga/dev/cbiisc.c | 5 ++---
sys/arch/amiga/dev/cbsc.c | 5 ++---
sys/arch/amiga/dev/flsc.c | 5 ++---
sys/arch/arm/gemini/gemini_lpchc.c | 5 ++---
sys/arch/arm/gemini/gemini_wdt.c | 3 +--
sys/arch/arm/gemini/obio_lpchc.c | 5 ++---
sys/arch/arm/gemini/obio_wdt.c | 5 ++---
sys/arch/arm/omap/obio_wdt.c | 3 +--
sys/arch/arm/omap/omap_wdt.c | 1 -
sys/arch/bebox/stand/boot/sd.c | 4 +---
sys/arch/bebox/stand/boot/wd.c | 3 +--
sys/arch/cobalt/stand/boot/wd.c | 3 +--
sys/arch/mac68k/dev/adb_direct.c | 5 ++---
sys/arch/mac68k/nubus/nubus.c | 5 ++---
sys/arch/mac68k/obio/esp.c | 5 ++---
sys/arch/mips/cavium/dev/octeon_rnm.c | 5 ++---
sys/arch/prep/stand/boot/sd.c | 4 +---
20 files changed, 32 insertions(+), 54 deletions(-)
diffs (truncated from 456 to 300 lines):
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/amiga/dev/bzivsc.c
--- a/sys/arch/amiga/dev/bzivsc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/amiga/dev/bzivsc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bzivsc.c,v 1.32 2018/09/03 16:29:22 riastradh Exp $ */
+/* $NetBSD: bzivsc.c,v 1.33 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@@ -36,7 +36,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.32 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.33 2019/01/08 19:41:09 jdolecek Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -55,7 +55,6 @@
#include <dev/scsipi/scsi_message.h>
#include <machine/cpu.h>
-#include <machine/param.h>
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/amiga/dev/bzsc.c
--- a/sys/arch/amiga/dev/bzsc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/amiga/dev/bzsc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bzsc.c,v 1.49 2018/09/03 16:29:22 riastradh Exp $ */
+/* $NetBSD: bzsc.c,v 1.50 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@@ -41,7 +41,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.49 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.50 2019/01/08 19:41:09 jdolecek Exp $");
/*
* Initial amiga Blizzard 1230-II driver by Daniel Widenfalk. Conversion to
@@ -65,7 +65,6 @@
#include <dev/scsipi/scsi_message.h>
#include <machine/cpu.h>
-#include <machine/param.h>
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/amiga/dev/bztzsc.c
--- a/sys/arch/amiga/dev/bztzsc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/amiga/dev/bztzsc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bztzsc.c,v 1.37 2018/09/03 16:29:22 riastradh Exp $ */
+/* $NetBSD: bztzsc.c,v 1.38 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@@ -42,7 +42,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.37 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.38 2019/01/08 19:41:09 jdolecek Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -61,7 +61,6 @@
#include <dev/scsipi/scsi_message.h>
#include <machine/cpu.h>
-#include <machine/param.h>
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/amiga/dev/cbiisc.c
--- a/sys/arch/amiga/dev/cbiisc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/amiga/dev/cbiisc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cbiisc.c,v 1.33 2018/09/03 16:29:22 riastradh Exp $ */
+/* $NetBSD: cbiisc.c,v 1.34 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@@ -36,7 +36,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.33 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.34 2019/01/08 19:41:09 jdolecek Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -55,7 +55,6 @@
#include <dev/scsipi/scsi_message.h>
#include <machine/cpu.h>
-#include <machine/param.h>
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/amiga/dev/cbsc.c
--- a/sys/arch/amiga/dev/cbsc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/amiga/dev/cbsc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cbsc.c,v 1.34 2018/09/03 16:29:22 riastradh Exp $ */
+/* $NetBSD: cbsc.c,v 1.35 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@@ -36,7 +36,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.34 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.35 2019/01/08 19:41:09 jdolecek Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -55,7 +55,6 @@
#include <dev/scsipi/scsi_message.h>
#include <machine/cpu.h>
-#include <machine/param.h>
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/amiga/dev/flsc.c
--- a/sys/arch/amiga/dev/flsc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/amiga/dev/flsc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: flsc.c,v 1.46 2018/09/03 16:29:22 riastradh Exp $ */
+/* $NetBSD: flsc.c,v 1.47 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@@ -47,7 +47,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.46 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.47 2019/01/08 19:41:09 jdolecek Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -66,7 +66,6 @@
#include <dev/scsipi/scsi_message.h>
#include <machine/cpu.h>
-#include <machine/param.h>
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/arm/gemini/gemini_lpchc.c
--- a/sys/arch/arm/gemini/gemini_lpchc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/arm/gemini/gemini_lpchc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gemini_lpchc.c,v 1.2 2011/07/01 19:32:28 dyoung Exp $ */
+/* $NetBSD: gemini_lpchc.c,v 1.3 2019/01/08 19:41:10 jdolecek Exp $ */
/*
* GEMINI LPC Host Controller
@@ -7,7 +7,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_lpchc.c,v 1.2 2011/07/01 19:32:28 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_lpchc.c,v 1.3 2019/01/08 19:41:10 jdolecek Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@@ -17,7 +17,6 @@
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <machine/param.h>
#include <sys/bus.h>
#include <arm/gemini/gemini_lpchcvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/arm/gemini/gemini_wdt.c
--- a/sys/arch/arm/gemini/gemini_wdt.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/arm/gemini/gemini_wdt.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gemini_wdt.c,v 1.3 2011/07/01 19:32:28 dyoung Exp $ */
+/* $NetBSD: gemini_wdt.c,v 1.4 2019/01/08 19:41:10 jdolecek Exp $ */
/*
* OMAP watchdog timers, common code
@@ -41,7 +41,6 @@
#include <sys/systm.h>
#include <sys/wdog.h>
-#include <machine/param.h>
#include <sys/bus.h>
#include <dev/sysmon/sysmonvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/arm/gemini/obio_lpchc.c
--- a/sys/arch/arm/gemini/obio_lpchc.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/arm/gemini/obio_lpchc.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obio_lpchc.c,v 1.4 2012/10/27 17:17:38 chs Exp $ */
+/* $NetBSD: obio_lpchc.c,v 1.5 2019/01/08 19:41:10 jdolecek Exp $ */
/*
* obio attachment for GEMINI LPC Host Controller
@@ -7,7 +7,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_lpchc.c,v 1.4 2012/10/27 17:17:38 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_lpchc.c,v 1.5 2019/01/08 19:41:10 jdolecek Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@@ -16,7 +16,6 @@
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <machine/param.h>
#include <sys/bus.h>
#include <arm/gemini/gemini_obiovar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/arm/gemini/obio_wdt.c
--- a/sys/arch/arm/gemini/obio_wdt.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/arm/gemini/obio_wdt.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obio_wdt.c,v 1.7 2012/10/27 17:17:38 chs Exp $ */
+/* $NetBSD: obio_wdt.c,v 1.8 2019/01/08 19:41:10 jdolecek Exp $ */
/*
* Copyright (c) 2007 Microsoft
@@ -36,7 +36,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_wdt.c,v 1.7 2012/10/27 17:17:38 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_wdt.c,v 1.8 2019/01/08 19:41:10 jdolecek Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@@ -46,7 +46,6 @@
#include <sys/systm.h>
#include <sys/wdog.h>
-#include <machine/param.h>
#include <sys/bus.h>
#include <dev/sysmon/sysmonvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/arm/omap/obio_wdt.c
--- a/sys/arch/arm/omap/obio_wdt.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/arm/omap/obio_wdt.c Tue Jan 08 19:41:09 2019 +0000
@@ -33,7 +33,7 @@
#include "opt_omap.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_wdt.c,v 1.7 2016/04/23 17:05:30 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_wdt.c,v 1.8 2019/01/08 19:41:10 jdolecek Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@@ -43,7 +43,6 @@
#include <sys/systm.h>
#include <sys/wdog.h>
-#include <machine/param.h>
#include <sys/bus.h>
#include <dev/sysmon/sysmonvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/arm/omap/omap_wdt.c
--- a/sys/arch/arm/omap/omap_wdt.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/arm/omap/omap_wdt.c Tue Jan 08 19:41:09 2019 +0000
@@ -39,7 +39,6 @@
#include <sys/systm.h>
#include <sys/wdog.h>
-#include <machine/param.h>
#include <sys/bus.h>
#include <dev/sysmon/sysmonvar.h>
diff -r 614a868c0ba0 -r 9021bc2b5c52 sys/arch/bebox/stand/boot/sd.c
--- a/sys/arch/bebox/stand/boot/sd.c Tue Jan 08 19:36:57 2019 +0000
+++ b/sys/arch/bebox/stand/boot/sd.c Tue Jan 08 19:41:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sd.c,v 1.5 2015/01/02 19:42:05 christos Exp $ */
+/* $NetBSD: sd.c,v 1.6 2019/01/08 19:41:09 jdolecek Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -32,8 +32,6 @@
#include <lib/libsa/stand.h>
#include <lib/libkern/libkern.h>
-#include <machine/param.h>
-
#include "boot.h"
#include "sdvar.h"
Home |
Main Index |
Thread Index |
Old Index