summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-02-05 17:35:28 +0000
committerkan <kan@FreeBSD.org>2004-02-05 17:35:28 +0000
commitd9a02c577afb6c93dc8ca496fa7f5b74b198244d (patch)
tree4808fe46b865706828e1c82c0324701fac352210 /sys/i386
parent080a321e4a2597143772f3b1b9e7f3d29f0ab072 (diff)
downloadFreeBSD-src-d9a02c577afb6c93dc8ca496fa7f5b74b198244d.zip
FreeBSD-src-d9a02c577afb6c93dc8ca496fa7f5b74b198244d.tar.gz
Rename cn_unavailable to cnunavailable for little more consistency.
Garbage collect unused cndebug() function. Suggested by: bde
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/db_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c
index 6e7b99a..79173c7 100644
--- a/sys/i386/i386/db_interface.c
+++ b/sys/i386/i386/db_interface.c
@@ -90,7 +90,7 @@ kdb_trap(int type, int code, struct i386_saved_state *regs)
* our breakpoints by disarming our breakpoints and fixing up
* %eip.
*/
- if (cn_unavailable() != 0 && ddb_mode) {
+ if (cnunavailable() != 0 && ddb_mode) {
if (type == T_TRCTRAP) {
regs->tf_eflags &= ~PSL_T;
return (1);
@@ -320,7 +320,7 @@ Debugger(const char *msg)
* OK if the call is for the debugger hotkey but not if the call
* is a weak form of panicing.
*/
- if (cn_unavailable() != 0 && !(boothowto & RB_GDB))
+ if (cnunavailable() != 0 && !(boothowto & RB_GDB))
return;
if (atomic_cmpset_acq_int(&in_Debugger, 0, 1)) {
OpenPOWER on IntegriCloud