]> git.karo-electronics.de Git - karo-tx-linux.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 15:39:16 +0000 (11:39 -0400)
commit01e9b02818f61db88c48d9af2077ddd345f16dd1
treef6d4e6acd6c2b252dfa7695446f3dba081f710a7
parent5b3eb34064f7b416e99cedc8f94ddc1452815d4a
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