[PATCH] hide kernel only code in asm-powerpc/elf.h

Arnd Bergmann arnd at arndb.de
Tue Jan 29 07:14:30 EST 2008


On Friday 25 January 2008, Olaf Hering wrote:
> stuff inside CONFIG_* should not be exported via make headers-install
> 
> Signed-off-by: Olaf Hering <olaf at aepfle.de>
> 

Acked-by: Arnd Bergmann <arnd at arndb.de>

I think at some point I even had a script to automatically check
for this kind of bug. Using any #ifdef CONFIG_* in an exported
header is guaranteed to be a bug, because we don't export
config.h.

	Arnd <><



More information about the Linuxppc-dev mailing list