Re: Userspace visible of 3 include/asm/ headers

Alexey Dobriyan
2006-08-03T20:14:08Z

On Thu, Aug 03, 2006 at 03:44:10PM -0400, Dave Jones wrote:
> On Thu, Aug 03, 2006 at 09:39:52PM +0200, Adrian Bunk wrote:
> > Could anyone help me regarding the desired userspace visibility of the
> > following three headers under include/asm/?
> >
> > Header : cpufeature.h
> > Architectures : i386, x86_64
> > Is there any reason why this header is exported to userspace?
>
> Probably not. The only apps I've seen that care about feature bits
> define them theirselves rather than use these.

Feature bits are only (indirectly) visible via /proc/cpuinfo.
struct cpuinfo_x86, AFAICS, is never copied to userspace. So, it's safe
to remove this header.