summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/dmabuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/sound/dmabuf.c')
-rw-r--r--sys/i386/isa/sound/dmabuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/sound/dmabuf.c b/sys/i386/isa/sound/dmabuf.c
index b0a6d1f..bb64d7d 100644
--- a/sys/i386/isa/sound/dmabuf.c
+++ b/sys/i386/isa/sound/dmabuf.c
@@ -678,8 +678,9 @@ DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode)
{
int chan = audio_devs[dev]->dmachan;
struct dma_buffparms *dmap = audio_devs[dev]->dmap;
+#ifdef linux
unsigned long flags;
-
+#endif
/*
* This function is not as portable as it should be.
*/
OpenPOWER on IntegriCloud