[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160817235914.GJ2356@ZenIV.linux.org.uk>
Date: Thu, 18 Aug 2016 00:59:14 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: zijun_hu <zijun_hu@...o.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]()
from __KERNEL__ scope
On Thu, Aug 18, 2016 at 07:51:19AM +0800, zijun_hu wrote:
> > What the hell is anything without __KERNEL__ doing with linux/bitops.h in
> > the first place? IOW, why do we have those ifdefs at all?
> >
>
> __KERNEL__ is used to indicate the relevant sections within kernel
> headers can't be exported to or used by user space
ITYM "used to be used". These days it's "everything outside of */uapi/*.h
can't be exported"...
Powered by blists - more mailing lists