]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68knommu: fix syscall tracing stuck process
authorGreg Ungerer <gerg@uclinux.org>
Mon, 16 Jan 2012 06:46:04 +0000 (16:46 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 7 Feb 2012 01:03:53 +0000 (11:03 +1000)
commit8b3262c00d6feccdccd6567d27687ae4b64c54bd
treea9f0f6aaa948722b6bb5aa121a550e5e6d6bd0b3
parent62aa2b537c6f5957afd98e29f96897419ed5ebab
m68knommu: fix syscall tracing stuck process

The return path from an exception was checking too many bits in the
thread_info->flags, and getting stuck calling do_signal(). There was
no work to do, we should only be checking the low 8 bits (as per comments
and definitions in arch/m68k/include/asm/thread_info.h).

This fixes the stuck process problem when using strace.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/entry.S