[Ksummit-2012-discuss] [ATTEND] Proposed discussion: Cleaning up the header file mess

Arnd Bergmann arnd at arndb.de
Fri Jun 22 12:43:56 UTC 2012


On Thursday 21 June 2012, David Howells wrote:
> Firstly, Header file cleanups.  I've been working on cleaning up the header
> files for a while, trying to eliminate circular dependencies.  I have a number
> of steps I'd like to go through:
> 
>  (1) Split the Userspace API (UAPI) out of the kernel headers into its own
>      header directories.
> 
>  (2) Move stuff out of the Kernel API (KAPI) headers that can be contained in
>      individual directories as it is referenced by a single file or directory
>      of files.
> 
>  (3) Make coherent what can be found in commmon arch headers.  asm/system.h has
>      been done now, but there's probably other stuff.

All good stuff. In the ARM architecture, we also need to thin out the
mach/*.h name space by moving a lot of the contents closer to where it was
used and out of global visibility.

	Arnd


More information about the Ksummit-2012-discuss mailing list