irq: hide debug macros so they don't collide with others.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 18 Apr 2012 20:29:57 +0000 (16:29 -0400)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Apr 2012 12:32:26 +0000 (17:32 +0530)
commit469447ec552bbdc23092715f6eaf3660e78e7707
tree5c80f0477073203824c192a9d918f3c82d164ec9
parent3896561d53ab7a697b00b862418dc09644bf7a1b
irq: hide debug macros so they don't collide with others.

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: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/irq/debug.h