Messages in this thread | | | Date | Sun, 22 Mar 2009 18:35:44 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [PATCH -tip] x86: cpu/cpu.h cleanup |
| |
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
| |