mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[MIPS] signal: factorize debug code
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
601dde45f6
commit
722bb63de6
4 changed files with 20 additions and 24 deletions
|
@ -11,6 +11,14 @@
|
|||
#ifndef __SIGNAL_COMMON_H
|
||||
#define __SIGNAL_COMMON_H
|
||||
|
||||
/* #define DEBUG_SIG */
|
||||
|
||||
#ifdef DEBUG_SIG
|
||||
# define DEBUGP(fmt, args...) printk("%s: " fmt, __FUNCTION__ , ##args)
|
||||
#else
|
||||
# define DEBUGP(fmt, args...)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Horribly complicated - with the bloody RM9000 workarounds enabled
|
||||
* the signal trampolines is moving to the end of the structure so we can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue