]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f12295dca4832e44a58829abe8e28a98573191c
treef6d4e6acd6c2b252dfa7695446f3dba081f710a7
parent51aef500d08a6c600653c36fc650182c28995193
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