Module Name: src
Committed By: christos
Date: Mon Jan 25 16:30:42 UTC 2016
Modified Files:
src/sys/arch/arm/footbridge: footbridge_intr.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/footbridge/footbridge_intr.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/arm/footbridge/footbridge_intr.h
diff -u src/sys/arch/arm/footbridge/footbridge_intr.h:1.16 src/sys/arch/arm/footbridge/footbridge_intr.h:1.17
--- src/sys/arch/arm/footbridge/footbridge_intr.h:1.16 Tue Feb 4 13:51:16 2014
+++ src/sys/arch/arm/footbridge/footbridge_intr.h Mon Jan 25 11:30:42 2016
@@ -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>