kgdb: Respect that flush op is optional
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 16 Mar 2012 12:17:13 +0000 (13:17 +0100)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 22 Mar 2012 20:07:15 +0000 (15:07 -0500)
commit9fbe465efc76044dd87afe764db5464ae61aeabc
treeb01f5206d050f29875438cc1d2e51a7190fc1c0c
parent639077fb69aec8112e5427210a83d0fb192969f0
kgdb: Respect that flush op is optional

Not all kgdb I/O drivers implement a flush operation. Adjust
gdbstub_exit accordingly.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/gdbstub.c