summaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel/traps.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2007-06-01 09:47:01 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-06-01 17:18:29 +0200
commit8778beb981b7e5df3472b05475e4c7905dad1f3d (patch)
tree407394ca07df33d46842c3284db3f3970fbce14e /arch/h8300/kernel/traps.c
parentatmel_spi dma address bugfix (diff)
downloadlinux-8778beb981b7e5df3472b05475e4c7905dad1f3d.tar.xz
linux-8778beb981b7e5df3472b05475e4c7905dad1f3d.zip
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