From aab23ae39a6dd52bfe06af256df52b4aee30e937 Mon Sep 17 00:00:00 2001 From: Ariff Abdullah Date: Mon, 2 Oct 2006 15:26:37 +0000 Subject: [PATCH] Make this buildable on IA64. Reported by: phk --- sys/dev/sound/pci/hda/hdac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 5e4b41ccc328..7dd581673404 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 } /****************************************************************************