aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorAriff Abdullah <ariff@FreeBSD.org>2006-10-02 15:26:37 +0000
committerAriff Abdullah <ariff@FreeBSD.org>2006-10-02 15:26:37 +0000
commitaab23ae39a6dd52bfe06af256df52b4aee30e937 (patch)
tree8403c85f65159fe576b8cb71dcea326b525b85b9 /sys/dev/sound
parentf645b0b51cd22b129405c2c32dba1d051ae3d99c (diff)
Notes
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pci/hda/hdac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 5e4b41ccc3280..7dd581673404f 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -992,6 +992,7 @@ hdac_dma_cb(void *callback_arg, bus_dma_segment_t *segs, int nseg, int error)
static void
hdac_dma_nocache(void *ptr)
{
+#if defined(__i386__) || defined(__amd64__)
pt_entry_t *pte;
vm_offset_t va;
@@ -1001,6 +1002,7 @@ hdac_dma_nocache(void *ptr)
*pte |= PG_N;
invltlb();
}
+#endif
}
/****************************************************************************