Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Since nothing in <sys/intr.h> depends on <machine/in...
details: https://anonhg.NetBSD.org/src/rev/045b51467263
branches: trunk
changeset: 789383:045b51467263
user: matt <matt%NetBSD.org@localhost>
date: Sat Aug 17 20:20:18 2013 +0000
description:
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.
diffstat:
sys/sys/intr.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r e452b4017b7e -r 045b51467263 sys/sys/intr.h
--- a/sys/sys/intr.h Sat Aug 17 19:57:09 2013 +0000
+++ b/sys/sys/intr.h Sat Aug 17 20:20:18 2013 +0000
@@ -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 @@
#endif /* _KERNEL */
+#include <machine/intr.h>
+
#endif /* _SYS_INTR_H_ */
Home |
Main Index |
Thread Index |
Old Index