Re: [PATCH v3] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-14 Thread Nick Desaulniers
On Fri, Dec 14, 2018 at 8:06 AM Miguel Ojeda wrote: > > On Fri, Dec 14, 2018 at 3:16 PM Xiaozhou Liu > wrote: > > > > Macros 'inline' and '__gnu_inline' used to be defined in compiler-gcc.h, > > which was (and is) included entirely in (__KERNEL__ && !__ASSEMBLY__). > > Commit 815f0ddb346c

Re: [PATCH v3] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-14 Thread Miguel Ojeda
On Fri, Dec 14, 2018 at 3:16 PM Xiaozhou Liu wrote: > > Macros 'inline' and '__gnu_inline' used to be defined in compiler-gcc.h, > which was (and is) included entirely in (__KERNEL__ && !__ASSEMBLY__). > Commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually > exclusive") had

[PATCH v3] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-14 Thread Xiaozhou Liu
Macros 'inline' and '__gnu_inline' used to be defined in compiler-gcc.h, which was (and is) included entirely in (__KERNEL__ && !__ASSEMBLY__). Commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive") had those macros exposed to userspace, unintentionally. Then