Re: Userspace visible of 3 include/asm/ headers

From: Dave Jones
Date: Thu Aug 03 2006 - 15:43:04 EST

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.

> Header : setup.h
> Architectures : i386, ia64, x86_64
> Contents:
> - COMMAND_LINE_SIZE on ia64, x86_64
> - much more on i386
> Should COMMAND_LINE_SIZE be visible to userspace?

Bootloaders probably need to know this.

> Header : timex.h
> Architectures : all architectures
> Offers CLOCK_TICK_RATE on all architectures, but on some architectures
> (like i386) this depends on the kernel configuration.
> -> not a userspace header?

Also longer term, CLOCK_TICK_RATE will make no sense should we go
to a tickless kernel.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at