Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1464857

Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope
Date 2016-08-18 02:30 +0200
Message-ID <s7jnz-ln-7@gated-at.bofh.it> (permalink)
References (1 earlier) <s6Hii-c3-29@gated-at.bofh.it> <s7cP8-469-35@gated-at.bofh.it> <s7iUx-8lb-3@gated-at.bofh.it> <s7jdT-ht-5@gated-at.bofh.it> <s7jdT-ht-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 18, 2016 at 08:10:19AM +0800, zijun_hu wrote:

> Documentation/kbuild/makefiles.txt:
> The kernel includes a set of headers that is exported to userspace.
> Many headers can be exported as-is but other headers require a
> minimal pre-processing before they are ready for user-space.
> The pre-processing does:
> - drop kernel-specific annotations
> - drop include of compiler.h
> - drop all sections that are kernel internal (guarded by ifdef __KERNEL__)
> 
> scripts/Makefile.headersinst:
> # ==========================================================================
> # Installing headers
> #
> # header-y  - list files to be installed. They are preprocessed
> #             to remove __KERNEL__ section of the file
> # genhdr-y  - Same as header-y but in a generated/ directory

Quite.  Now, could you show me where bitops.h is mentioned in any header-y
assignments?

Stuff outside of */uapi/* is not exported at all.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] bitops.h: move out get_count_order[_long]() from  __KERNEL__ scope zijun_hu <zijun_hu@zoho.com> - 2016-08-16 08:30 +0200
  Re: [PATCH 1/1] bitops.h: move out get_count_order[_long]() from  __KERNEL__ scope Stephen Rothwell <sfr@canb.auug.org.au> - 2016-08-16 09:00 +0200
    Re: [PATCH 1/1] bitops.h: move out get_count_order[_long]() from  __KERNEL__ scope zijun_hu <zijun_hu@zoho.com> - 2016-08-16 09:30 +0200
  [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from  __KERNEL__ scope zijun_hu <zijun_hu@zoho.com> - 2016-08-16 09:50 +0200
    Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()  from __KERNEL__ scope Al Viro <viro@ZenIV.linux.org.uk> - 2016-08-17 19:30 +0200
      Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()  from __KERNEL__ scope zijun_hu <zijun_hu@zoho.com> - 2016-08-18 02:00 +0200
        Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()  from __KERNEL__ scope zijun_hu <zijun_hu@zoho.com> - 2016-08-18 02:20 +0200
          Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()  from __KERNEL__ scope Al Viro <viro@ZenIV.linux.org.uk> - 2016-08-18 02:30 +0200
            Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()  from __KERNEL__ scope zijun_hu <zijun_hu@zoho.com> - 2016-08-18 03:00 +0200
        Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()  from __KERNEL__ scope Al Viro <viro@ZenIV.linux.org.uk> - 2016-08-18 03:10 +0200

csiph-web