Module Name: src
Committed By: matt
Date: Sat Aug 17 20:20:18 UTC 2013
Modified Files:
src/sys/sys: intr.h
Log Message:
Since nothing in <sys/intr.h> depends on <machine/intr.h>, include the
latter last so SOFTINT_COUNT and friends are defined before including it.
Since <machine/intr.h> may need to include <machine/cpu.h> which might need
SOFTINT_COUNT.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/sys/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/sys/intr.h
diff -u src/sys/sys/intr.h:1.12 src/sys/sys/intr.h:1.13
--- src/sys/sys/intr.h:1.12 Fri Jul 27 14:05:08 2012
+++ src/sys/sys/intr.h Sat Aug 17 20:20:18 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.12 2012/07/27 14:05:08 matt Exp $ */
+/* $NetBSD: intr.h,v 1.13 2013/08/17 20:20:18 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -32,8 +32,6 @@
#ifndef _SYS_INTR_H_
#define _SYS_INTR_H_
-#include <machine/intr.h>
-
#ifdef _KERNEL
struct cpu_info;
@@ -90,4 +88,6 @@ extern u_int softint_timing;
#endif /* _KERNEL */
+#include <machine/intr.h>
+
#endif /* _SYS_INTR_H_ */