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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 23 Apr 2012 16:30:03 +0000 (12:30 -0400)
commit9f3045eca89a2e6fdd1901aafb9e28231d3f31fb
treef6d4e6acd6c2b252dfa7695446f3dba081f710a7
parentbfae8ee8d28e6a4ac1d63e8077cb09928d8a557a
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