Re: CVS commit: src/sys/external/bsd/drm2/include/linux/regulator

2018-11-19 Thread Robert Elz
Date:Mon, 19 Nov 2018 11:29:27 +
From:m...@netbsd.org
Message-ID:  <20181119112927.ga1...@homeworld.netbsd.org>

  | The linux includes are local shims on NetBSD.

Ah, OK.

  | As I understand it, I can't use userland headers in the kernel. What's
  | the rule for that?

The rule is as you said it ... I didn't even notice it was a kernel file...
Leave it as you have it.

Apologies for butting in.

kre



Re: CVS commit: src/sys/external/bsd/drm2/include/linux/regulator

2018-11-19 Thread maya
On Mon, Nov 19, 2018 at 06:24:12PM +0700, Robert Elz wrote:
> Date:Mon, 19 Nov 2018 10:48:59 +
> From:"Maya Rashish" 
> Message-ID:  <20181119104859.36f32f...@cvs.netbsd.org>
> 
>   | Module Name:  src
>   | Committed By: maya
>   | Date: Mon Nov 19 10:48:59 UTC 2018
>   |
>   | Modified Files:
>   |   src/sys/external/bsd/drm2/include/linux/regulator: consumer.h
>   |
>   | Log Message:
>   | include machine/limits.h for INT_MAX
> 
> For this one the conventional include (which could be submitted back
> to wherever the linux version comes from) would be 
> 
> kre
> 

The linux includes are local shims on NetBSD.
As I understand it, I can't use userland headers in the kernel. What's
the rule for that?


Re: CVS commit: src/sys/external/bsd/drm2/include/linux/regulator

2018-11-19 Thread Robert Elz
Date:Mon, 19 Nov 2018 10:48:59 +
From:"Maya Rashish" 
Message-ID:  <20181119104859.36f32f...@cvs.netbsd.org>

  | Module Name:src
  | Committed By:   maya
  | Date:   Mon Nov 19 10:48:59 UTC 2018
  |
  | Modified Files:
  | src/sys/external/bsd/drm2/include/linux/regulator: consumer.h
  |
  | Log Message:
  | include machine/limits.h for INT_MAX

For this one the conventional include (which could be submitted back
to wherever the linux version comes from) would be 

kre