[PATCH] powerpc: sanitize header files for user space includes
include/asm-ppc/ had #ifdef __KERNEL__ in all header files that are not meant for use by user space, include/asm-powerpc does not have this yet. This patch gets us a lot closer there. There are a few cases where I was not sure, so I left them out. I have verified that no CONFIG_* symbols are used outside of __KERNEL__ any more and that there are no obvious compile errors when including any of the headers in user space libraries. Signed-off-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- include/asm-powerpc/abs_addr.h 2 additions, 0 deletionsinclude/asm-powerpc/abs_addr.h
- include/asm-powerpc/agp.h 2 additions, 0 deletionsinclude/asm-powerpc/agp.h
- include/asm-powerpc/asm-compat.h 2 additions, 1 deletioninclude/asm-powerpc/asm-compat.h
- include/asm-powerpc/bootx.h 5 additions, 0 deletionsinclude/asm-powerpc/bootx.h
- include/asm-powerpc/bug.h 2 additions, 0 deletionsinclude/asm-powerpc/bug.h
- include/asm-powerpc/checksum.h 2 additions, 0 deletionsinclude/asm-powerpc/checksum.h
- include/asm-powerpc/compat.h 2 additions, 0 deletionsinclude/asm-powerpc/compat.h
- include/asm-powerpc/cputable.h 0 additions, 1 deletioninclude/asm-powerpc/cputable.h
- include/asm-powerpc/current.h 2 additions, 0 deletionsinclude/asm-powerpc/current.h
- include/asm-powerpc/delay.h 2 additions, 0 deletionsinclude/asm-powerpc/delay.h
- include/asm-powerpc/dma-mapping.h 2 additions, 0 deletionsinclude/asm-powerpc/dma-mapping.h
- include/asm-powerpc/dma.h 2 additions, 0 deletionsinclude/asm-powerpc/dma.h
- include/asm-powerpc/eeh.h 2 additions, 0 deletionsinclude/asm-powerpc/eeh.h
- include/asm-powerpc/eeh_event.h 2 additions, 0 deletionsinclude/asm-powerpc/eeh_event.h
- include/asm-powerpc/elf.h 3 additions, 0 deletionsinclude/asm-powerpc/elf.h
- include/asm-powerpc/floppy.h 2 additions, 0 deletionsinclude/asm-powerpc/floppy.h
- include/asm-powerpc/grackle.h 5 additions, 0 deletionsinclude/asm-powerpc/grackle.h
- include/asm-powerpc/hardirq.h 2 additions, 0 deletionsinclude/asm-powerpc/hardirq.h
- include/asm-powerpc/heathrow.h 5 additions, 0 deletionsinclude/asm-powerpc/heathrow.h
- include/asm-powerpc/hvcall.h 2 additions, 0 deletionsinclude/asm-powerpc/hvcall.h
Loading
Please register or sign in to comment