Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/footbridge Remove <sys/param.h> include and ass...



details:   https://anonhg.NetBSD.org/src/rev/7ee948a6f1f3
branches:  trunk
changeset: 978968:7ee948a6f1f3
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Dec 09 15:28:38 2020 +0000

description:
Remove <sys/param.h> include and assume users already include that.
Removes an include cycle when including <sys/resource.h> via:
ys/time.h, sys/timevar.h, sys/mutex.h, sys/intr.h on top of this
file, and sys/param.h, uvm/uvm_param.h, sys/resourcevar.h below.

diffstat:

 sys/arch/arm/footbridge/footbridge_intr.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 694edcfbd701 -r 7ee948a6f1f3 sys/arch/arm/footbridge/footbridge_intr.h
--- a/sys/arch/arm/footbridge/footbridge_intr.h Wed Dec 09 14:21:09 2020 +0000
+++ b/sys/arch/arm/footbridge/footbridge_intr.h Wed Dec 09 15:28:38 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge_intr.h,v 1.20 2018/06/01 21:22:43 mrg Exp $ */
+/*     $NetBSD: footbridge_intr.h,v 1.21 2020/12/09 15:28:38 martin Exp $      */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -46,7 +46,6 @@
 
 #include <arm/mutex.h>
 #endif
-#include <sys/param.h>
 #include <arm/cpu.h>
 #include <arm/armreg.h>
 



Home | Main Index | Thread Index | Old Index