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 This is a mess:
details: https://anonhg.NetBSD.org/src/rev/9c9cde082a50
branches: trunk
changeset: 343223:9c9cde082a50
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 25 16:30:42 2016 +0000
description:
This is a mess:
-> sys/mutex.h -> sys/intr.h -> machine/intr.h -> footbridge/footbridge_intr.h
-> arm/cpu.h -> sys/cpu_data.h -> sys/sched.h -> sys/time.h -> sys/timevar.h
-> sys/systm.h -> sys/param.h -> uvm_param.h -> sys/resourcevar.h
Now sys/resourcevar.h needs a concrete definition of kmutex_t, and
although we started including sys/mutex.h we never got to include
machine/mutex.h which actually defines it, since the footbridge_intr.h
took us for a long ride. Take the easy way out and include
arm/mutex.h in footbridge_intr.h so that we get the definition we
need.
diffstat:
sys/arch/arm/footbridge/footbridge_intr.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r e93e1cd9904f -r 9c9cde082a50 sys/arch/arm/footbridge/footbridge_intr.h
--- a/sys/arch/arm/footbridge/footbridge_intr.h Mon Jan 25 15:37:21 2016 +0000
+++ b/sys/arch/arm/footbridge/footbridge_intr.h Mon Jan 25 16:30:42 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: footbridge_intr.h,v 1.16 2014/02/04 18:51:16 matt Exp $ */
+/* $NetBSD: footbridge_intr.h,v 1.17 2016/01/25 16:30:42 christos Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -38,6 +38,7 @@
#ifndef _FOOTBRIDGE_INTR_H_
#define _FOOTBRIDGE_INTR_H_
+#include <arm/mutex.h>
#include <arm/cpu.h>
#include <arm/armreg.h>
Home |
Main Index |
Thread Index |
Old Index