summaryrefslogtreecommitdiff
path: root/arch/h8300/kernel/traps.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2007-06-01 00:47:01 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-06-01 08:18:29 -0700
commit8778beb981b7e5df3472b05475e4c7905dad1f3d (patch)
tree407394ca07df33d46842c3284db3f3970fbce14e /arch/h8300/kernel/traps.c
parent5a9a62bb035b1f74e7d017e3bd48d1c687d7de3c (diff)
h8300 trival patches
- warning fix. - call trace area check fix. - There is no meaning, ' & ' it deletes Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/kernel/traps.c')
-rw-r--r--arch/h8300/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/kernel/traps.c b/arch/h8300/kernel/traps.c
index 300e3279ca5a..f97183011c2c 100644
--- a/arch/h8300/kernel/traps.c
+++ b/arch/h8300/kernel/traps.c
@@ -136,7 +136,7 @@ void show_stack(struct task_struct *task, unsigned long *esp)
printk("\nCall Trace:");
i = 0;
stack = esp;
- while (((unsigned long)stack & (THREAD_SIZE - 1)) == 0) {
+ while (((unsigned long)stack & (THREAD_SIZE - 1)) != 0) {
addr = *stack++;
/*
* If the address is either in the text segment of the