Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/pci Don't include malloc.h.



details:   https://anonhg.NetBSD.org/src/rev/f3e5b4e96e93
branches:  trunk
changeset: 825694:f3e5b4e96e93
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Jul 28 14:26:50 2017 +0000

description:
Don't include malloc.h.

diffstat:

 sys/arch/x86/pci/msipic.c           |  5 ++---
 sys/arch/x86/pci/pci_addr_fixup.c   |  5 ++---
 sys/arch/x86/pci/pci_intr_machdep.c |  5 ++---
 sys/arch/x86/pci/pci_msi_machdep.c  |  5 ++---
 4 files changed, 8 insertions(+), 12 deletions(-)

diffs (100 lines):

diff -r 19c223a78aa6 -r f3e5b4e96e93 sys/arch/x86/pci/msipic.c
--- a/sys/arch/x86/pci/msipic.c Fri Jul 28 14:20:46 2017 +0000
+++ b/sys/arch/x86/pci/msipic.c Fri Jul 28 14:26:50 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msipic.c,v 1.10 2017/06/01 02:45:08 chs Exp $  */
+/*     $NetBSD: msipic.c,v 1.11 2017/07/28 14:26:50 maxv Exp $ */
 
 /*
  * Copyright (c) 2015 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msipic.c,v 1.10 2017/06/01 02:45:08 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msipic.c,v 1.11 2017/07/28 14:26:50 maxv Exp $");
 
 #include "opt_intrdebug.h"
 
@@ -36,7 +36,6 @@
 #include <sys/systm.h>
 #include <sys/errno.h>
 #include <sys/kmem.h>
-#include <sys/malloc.h>
 #include <sys/mutex.h>
 
 #include <dev/pci/pcivar.h>
diff -r 19c223a78aa6 -r f3e5b4e96e93 sys/arch/x86/pci/pci_addr_fixup.c
--- a/sys/arch/x86/pci/pci_addr_fixup.c Fri Jul 28 14:20:46 2017 +0000
+++ b/sys/arch/x86/pci/pci_addr_fixup.c Fri Jul 28 14:26:50 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_addr_fixup.c,v 1.9 2012/01/27 18:53:06 para Exp $  */
+/*     $NetBSD: pci_addr_fixup.c,v 1.10 2017/07/28 14:26:50 maxv Exp $ */
 
 /*-
  * Copyright (c) 2000 UCHIYAMA Yasushi.  All rights reserved.
@@ -27,11 +27,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_addr_fixup.c,v 1.9 2012/01/27 18:53:06 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_addr_fixup.c,v 1.10 2017/07/28 14:26:50 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
 #include <sys/extent.h>
diff -r 19c223a78aa6 -r f3e5b4e96e93 sys/arch/x86/pci/pci_intr_machdep.c
--- a/sys/arch/x86/pci/pci_intr_machdep.c       Fri Jul 28 14:20:46 2017 +0000
+++ b/sys/arch/x86/pci/pci_intr_machdep.c       Fri Jul 28 14:26:50 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_intr_machdep.c,v 1.40 2017/06/01 02:45:08 chs Exp $        */
+/*     $NetBSD: pci_intr_machdep.c,v 1.41 2017/07/28 14:26:50 maxv Exp $       */
 
 /*-
  * Copyright (c) 1997, 1998, 2009 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_intr_machdep.c,v 1.40 2017/06/01 02:45:08 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_intr_machdep.c,v 1.41 2017/07/28 14:26:50 maxv Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -84,7 +84,6 @@
 #include <sys/device.h>
 #include <sys/intr.h>
 #include <sys/kmem.h>
-#include <sys/malloc.h>
 
 #include <dev/pci/pcivar.h>
 
diff -r 19c223a78aa6 -r f3e5b4e96e93 sys/arch/x86/pci/pci_msi_machdep.c
--- a/sys/arch/x86/pci/pci_msi_machdep.c        Fri Jul 28 14:20:46 2017 +0000
+++ b/sys/arch/x86/pci/pci_msi_machdep.c        Fri Jul 28 14:26:50 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_msi_machdep.c,v 1.12 2017/06/01 02:45:08 chs Exp $ */
+/*     $NetBSD: pci_msi_machdep.c,v 1.13 2017/07/28 14:26:50 maxv Exp $        */
 
 /*
  * Copyright (c) 2015 Internet Initiative Japan Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_msi_machdep.c,v 1.12 2017/06/01 02:45:08 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_msi_machdep.c,v 1.13 2017/07/28 14:26:50 maxv Exp $");
 
 #include "opt_intrdebug.h"
 #include "ioapic.h"
@@ -48,7 +48,6 @@
 #include <sys/device.h>
 #include <sys/intr.h>
 #include <sys/kmem.h>
-#include <sys/malloc.h>
 
 #include <dev/pci/pcivar.h>
 



Home | Main Index | Thread Index | Old Index