Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2019 14:18:55 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r355089 - stable/12/sys/x86/include
Message-ID:  <201911251418.xAPEItMH087104@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Nov 25 14:18:55 2019
New Revision: 355089
URL: https://svnweb.freebsd.org/changeset/base/355089

Log:
  MFC r355088:
  Limit bus_dma_dmar_set_buswide() definition to kernel only.

Modified:
  stable/12/sys/x86/include/bus_dma.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/x86/include/bus_dma.h
==============================================================================
--- stable/12/sys/x86/include/bus_dma.h	Mon Nov 25 14:16:41 2019	(r355088)
+++ stable/12/sys/x86/include/bus_dma.h	Mon Nov 25 14:18:55 2019	(r355089)
@@ -179,7 +179,9 @@ _bus_dmamap_complete(bus_dma_tag_t dmat, bus_dmamap_t 
 	return (tc->impl->map_complete(dmat, map, segs, nsegs, error));
 }
 
+#ifdef _KERNEL
 bool bus_dma_dmar_set_buswide(device_t dev);
+#endif
 
 #endif /* !_X86_BUS_DMA_H_ */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911251418.xAPEItMH087104>