• Paul Gortmaker's avatar
    irq: hide debug macros so they don't collide with others. · 9f3045ec
    Paul Gortmaker authored
    The file kernel/irq/debug.h temporarily defines P, PS, PD
    and then undefines them.  However these names aren't really
    "internal" enough, and collide with other more legit users
    such as the ones in the xtensa arch, causing:
    
    In file included from kernel/irq/internals.h:58:0,
                     from kernel/irq/irqdesc.c:18:
    kernel/irq/debug.h:8:0: warning: "PS" redefined [enabled by default]
    arch/xtensa/include/asm/regs.h:59:0: note: this is the location of the previous definition
    
    Add a handful of underscores to do a better job of hiding these
    temporary macros.
    
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    9f3045ec
debug.h 1.17 KB