Blackfin: kgdb: disable interrupt when single stepping in ADEOS
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 17 Nov 2010 06:19:28 +0000 (06:19 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:22 +0000 (07:18 -0500)
commit900de05182d520ff66378e74a7b18f7d9971a32d
tree98896918623213bef886c7e83f5bf7a537361466
parent84e97c1014a2afe1a07beb1b6de5f2d867b368fd
Blackfin: kgdb: disable interrupt when single stepping in ADEOS

When ADEOS and kgdb are both enabled, single step in linux kernel may be
scheduled to Xenomai core after return from interrupt handlers.  This
blocks gdb continue operation after a break point is hit.  So, disable
interrupt when running gdb single step.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb.c