Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/pic Cleanup includes. Explicitly include <...
details: https://anonhg.NetBSD.org/src/rev/8dec25269c88
branches: trunk
changeset: 766278:8dec25269c88
user: matt <matt%NetBSD.org@localhost>
date: Mon Jun 20 06:23:52 2011 +0000
description:
Cleanup includes. Explicitly include <powerpc/psl.h>
diffstat:
sys/arch/powerpc/pic/intr.c | 18 ++++++++++--------
sys/arch/powerpc/pic/ipi.c | 10 ++++++----
2 files changed, 16 insertions(+), 12 deletions(-)
diffs (76 lines):
diff -r b32a7849d7dd -r 8dec25269c88 sys/arch/powerpc/pic/intr.c
--- a/sys/arch/powerpc/pic/intr.c Mon Jun 20 06:22:23 2011 +0000
+++ b/sys/arch/powerpc/pic/intr.c Mon Jun 20 06:23:52 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.15 2011/06/17 23:36:18 matt Exp $ */
+/* $NetBSD: intr.c,v 1.16 2011/06/20 06:23:52 matt Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,26 +27,28 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.15 2011/06/17 23:36:18 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.16 2011/06/20 06:23:52 matt Exp $");
+#include "opt_interrupt.h"
#include "opt_multiprocessor.h"
+#include "opt_pic.h"
#define __INTR_PRIVATE
#include <sys/param.h>
-#include <sys/malloc.h>
+#include <sys/cpu.h>
#include <sys/kernel.h>
-#include <sys/cpu.h>
+#include <sys/malloc.h>
-#include <arch/powerpc/pic/picvar.h>
-#include "opt_pic.h"
-#include "opt_interrupt.h"
+#include <powerpc/psl.h>
+#include <powerpc/pic/picvar.h>
+
#if defined(PIC_I8259) || defined (PIC_PREPIVR)
#include <machine/isa_machdep.h>
#endif
#ifdef MULTIPROCESSOR
-#include <arch/powerpc/pic/ipivar.h>
+#include <powerpc/pic/ipivar.h>
#endif
#ifdef __HAVE_FAST_SOFTINTS
diff -r b32a7849d7dd -r 8dec25269c88 sys/arch/powerpc/pic/ipi.c
--- a/sys/arch/powerpc/pic/ipi.c Mon Jun 20 06:22:23 2011 +0000
+++ b/sys/arch/powerpc/pic/ipi.c Mon Jun 20 06:23:52 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipi.c,v 1.9 2011/06/05 16:52:26 matt Exp $ */
+/* $NetBSD: ipi.c,v 1.10 2011/06/20 06:23:52 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.9 2011/06/05 16:52:26 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.10 2011/06/20 06:23:52 matt Exp $");
#include "opt_multiprocessor.h"
#include "opt_pic.h"
@@ -42,8 +42,10 @@
#include <sys/atomic.h>
#include <sys/cpu.h>
-#include <arch/powerpc/pic/picvar.h>
-#include <arch/powerpc/pic/ipivar.h>
+#include <powerpc/psl.h>
+
+#include <powerpc/pic/picvar.h>
+#include <powerpc/pic/ipivar.h>
#include "opt_ipi.h"
#ifdef MULTIPROCESSOR
Home |
Main Index |
Thread Index |
Old Index