]> err.no Git - linux-2.6/commit
[PATCH] headers_check: remove <asm/timex.h> from user export
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 13 Sep 2006 03:36:03 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 13 Sep 2006 14:32:15 +0000 (07:32 -0700)
commitee6baf884b27739cca110e5167a2edfa061ca19f
tree27db3ed3a2d2c441fe0cda5811954421b5e0512c
parent7f1cbe51ffc1273bcded36742ede4b6ebef1b640
[PATCH] headers_check: remove <asm/timex.h> from user export

There's useful stuff in <linux/timex.h> but <asm/timex.h> has nothing for
userspace.  Stop exporting it, and include it only from within the existing
#ifdef __KERNEL__ part of <linux/timex.h>

This fixes a 'make headers_check' failure on i386 because asm-i386/timex.h
includes both asm-i386/tsc.h and asm-i386/processor.h, neither of which are
exported to userspace.  It's not entirely clear _why_ it includes either of
these, but it does.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/Kbuild.asm
include/linux/timex.h