• Dag-Erling Smrgrav's avatar
    [PATCH] Avoid namespace pollution in <asm/param.h> · abe842eb
    Dag-Erling Smrgrav authored
    In commit 3D59121003721a8fad11ee72e646fd9d3076b5679c, the x86 and x86-64
    <asm/param.h> was changed to include <linux/config.h> for the
    configurable timer frequency.
    
    However, asm/param.h is sometimes used in userland (it is included
    indirectly from <sys/param.h>), so your commit pollutes the userland
    namespace with tons of CONFIG_FOO macros.  This greatly confuses
    software packages (such as BusyBox) which use CONFIG_FOO macros
    themselves to control the inclusion of optional features.
    
    After a short exchange, Christoph approved this patch
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    abe842eb
param.h 487 Bytes