On Mon, Nov 25, 2019 at 6:19 AM Konstantin Belousov <[email protected]> wrote:
>
> 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_ */
>
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "[email protected]"

No complaint, but incidentally I think this didn't trip in current
because r347836 deleted #include <machine/bus.h> from camdd.c.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to