]> 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)
commit2e73b3f6d86fd844d69aecc729672aac9e8e32fc
treef6d4e6acd6c2b252dfa7695446f3dba081f710a7
parent9120b2638bb72e0415653e2cf93d6876f903d0c5
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