diff options
author | Franck Bui-Huu <fbuihuu@gmail.com> | 2007-02-05 09:24:24 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-10 17:38:46 -0500 |
commit | 722bb63de630f9500db1f12ed32e1dd9349a8049 (patch) | |
tree | a4579b19efc69adb05e486cc0f64d18f1b85cc92 /arch/mips/kernel/signal-common.h | |
parent | 601dde45f698ee1be5fe03a68b895efe6ca6b858 (diff) |
[MIPS] signal: factorize debug code
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal-common.h')
-rw-r--r-- | arch/mips/kernel/signal-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/kernel/signal-common.h b/arch/mips/kernel/signal-common.h index 6700bde06053..9a8abd67ec5c 100644 --- a/arch/mips/kernel/signal-common.h +++ b/arch/mips/kernel/signal-common.h | |||
@@ -11,6 +11,14 @@ | |||
11 | #ifndef __SIGNAL_COMMON_H | 11 | #ifndef __SIGNAL_COMMON_H |
12 | #define __SIGNAL_COMMON_H | 12 | #define __SIGNAL_COMMON_H |
13 | 13 | ||
14 | /* #define DEBUG_SIG */ | ||
15 | |||
16 | #ifdef DEBUG_SIG | ||
17 | # define DEBUGP(fmt, args...) printk("%s: " fmt, __FUNCTION__ , ##args) | ||
18 | #else | ||
19 | # define DEBUGP(fmt, args...) | ||
20 | #endif | ||
21 | |||
14 | /* | 22 | /* |
15 | * Horribly complicated - with the bloody RM9000 workarounds enabled | 23 | * Horribly complicated - with the bloody RM9000 workarounds enabled |
16 | * the signal trampolines is moving to the end of the structure so we can | 24 | * the signal trampolines is moving to the end of the structure so we can |