aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel/signal.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-25 20:33:10 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 20:43:34 -0400
commitbb28632c0d651f26dddf99afb7d7703e8e0ce293 (patch)
tree8278adb86195db0bb1615c349ae84566692f6122 /arch/m68knommu/kernel/signal.c
parent6f57622a32e6bdc0a585c8be6f25bb8e75a3ff9e (diff)
[PATCH] m68knommu: check DEBUG defined arch code
Don't rely on DEBUG having a value, check for it being defined. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68knommu/kernel/signal.c')
-rw-r--r--arch/m68knommu/kernel/signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68knommu/kernel/signal.c b/arch/m68knommu/kernel/signal.c
index 8e2c5a88efa7..437f8c6c14a0 100644
--- a/arch/m68knommu/kernel/signal.c
+++ b/arch/m68knommu/kernel/signal.c
@@ -608,7 +608,7 @@ adjust_stack:
608 if (regs->stkadj) { 608 if (regs->stkadj) {
609 struct pt_regs *tregs = 609 struct pt_regs *tregs =
610 (struct pt_regs *)((ulong)regs + regs->stkadj); 610 (struct pt_regs *)((ulong)regs + regs->stkadj);
611#if DEBUG 611#if defined(DEBUG)
612 printk(KERN_DEBUG "Performing stackadjust=%04x\n", regs->stkadj); 612 printk(KERN_DEBUG "Performing stackadjust=%04x\n", regs->stkadj);
613#endif 613#endif
614 /* This must be copied with decreasing addresses to 614 /* This must be copied with decreasing addresses to
@@ -678,7 +678,7 @@ adjust_stack:
678 if (regs->stkadj) { 678 if (regs->stkadj) {
679 struct pt_regs *tregs = 679 struct pt_regs *tregs =
680 (struct pt_regs *)((ulong)regs + regs->stkadj); 680 (struct pt_regs *)((ulong)regs + regs->stkadj);
681#if DEBUG 681#if defined(DEBUG)
682 printk(KERN_DEBUG "Performing stackadjust=%04x\n", regs->stkadj); 682 printk(KERN_DEBUG "Performing stackadjust=%04x\n", regs->stkadj);
683#endif 683#endif
684 /* This must be copied with decreasing addresses to 684 /* This must be copied with decreasing addresses to