From: dlg Date: Tue, 27 Jan 2015 05:10:30 +0000 (+0000) Subject: this code doesnt need to know about interrupts, so i can trim some X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0e294e59d8deb11b804a771127fc5b5635c4e8a0;p=openbsd this code doesnt need to know about interrupts, so i can trim some headers and types. ok deraadt@ --- diff --git a/sys/arch/amd64/amd64/bus_dma.c b/sys/arch/amd64/amd64/bus_dma.c index 9ecb23bdee1..b7b7e7f3860 100644 --- a/sys/arch/amd64/amd64/bus_dma.c +++ b/sys/arch/amd64/amd64/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.47 2015/01/24 15:13:55 kettenis Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.48 2015/01/27 05:10:30 dlg Exp $ */ /* $NetBSD: bus_dma.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */ /*- @@ -95,25 +95,11 @@ #include -#include -#include - #include -#include "ioapic.h" - -#if NIOAPIC > 0 -#include -#include -#endif - int _bus_dmamap_load_buffer(bus_dma_tag_t, bus_dmamap_t, void *, bus_size_t, struct proc *, int, paddr_t *, int *, int); -#define IDTVEC(name) __CONCAT(X,name) -typedef void (vector)(void); -extern vector *IDTVEC(intr)[]; - /* * Common function for DMA map creation. May be called by bus-specific * DMA map creation functions.