Re: [PATCH -tip] x86: cpu/cpu.h cleanup

From: Thomas Gleixner
Date: Sun Mar 22 2009 - 13:37:29 EST


On Sun, 22 Mar 2009, Jaswinder Singh Rajput wrote:
> Is it worth to move arch/x86/kernel/cpu/cpu.h data to asm/cpu.h and if
> required we can also make it private like:
> #ifdef __KERNEL__
> #ifndef MODULE
> private data for kernel only
> #endif
> #endif
>
> By this way we move header files to include directory. Or you have some
> better option.

There is no option at all. The header files which are in source
directories stay just where they are.

They are there for a reason. Have you even looked which files include
arch/x86/kernel/cpu/cpu.h ?

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/