Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



On 04.03.2018 08:13, Michael van Elst wrote:
> Module Name:	src
> Committed By:	mlelstv
> Date:		Sun Mar  4 07:13:11 UTC 2018
> 
> Modified Files:
> 	src/sys/sys: device.h
> 
> Log Message:
> Expose device structures to _KMEMUSER
> 
> 

This broke building device.h with _KMEMUSER.

> @@ -81,7 +81,7 @@
>  #include <sys/evcnt.h>
>  #include <sys/queue.h>
>  
> -#ifdef _KERNEL
> +#if defined(_KERNEL) || defined(_KMEMUSER)
>  #include <sys/mutex.h>
>  #include <sys/condvar.h>
>  #include <sys/pmf.h>

The sys/pmf.h header is not accessible from userland.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index