serial: bfin_5xx: kgdboc should accept gdb break only when it is active
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 19 Jan 2010 11:13:12 +0000 (06:13 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:43:17 +0000 (14:43 -0800)
commitcdc592d5d496e5c813d9632d0d1e334658927af7
treed00c8fbb037cb5542bb43d213b5f5583cfbd219f
parent7ed43f6af88b042eb2ac5a3eda1e8e17efae74ee
serial: bfin_5xx: kgdboc should accept gdb break only when it is active

If we always check for gdb breaks even when it isn't active, we get false
positives on normal code and the system panics.

URL: http://blackfin.uclinux.org/gf/tracker/5277

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/bfin_5xx.c