aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-07-10 21:21:55 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-07-10 21:21:55 +0000
commit6d408d58d0e8509bc55ec79a37d780d6af3f9916 (patch)
tree13e3956e67e0f779a429013923cede86147ce551
parente2fb7a7be0c688b7b4bdce276aa105e6839bc4d7 (diff)
downloadsrc-6d408d58d0e8509bc55ec79a37d780d6af3f9916.tar.gz
src-6d408d58d0e8509bc55ec79a37d780d6af3f9916.zip
Update for the KDB framework:
o Make debugging code conditional upon KDB instead of DDB.
Notes
Notes: svn path=/head/; revision=131925
-rw-r--r--sys/gnu/ext2fs/ext2_subr.c8
-rw-r--r--sys/gnu/fs/ext2fs/ext2_subr.c8
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/gnu/ext2fs/ext2_subr.c b/sys/gnu/ext2fs/ext2_subr.c
index 7e93321a8158..94db9346b7c0 100644
--- a/sys/gnu/ext2fs/ext2_subr.c
+++ b/sys/gnu/ext2fs/ext2_subr.c
@@ -51,9 +51,7 @@
#include <gnu/ext2fs/ext2_fs_sb.h>
#include <gnu/ext2fs/fs.h>
-#include "opt_ddb.h"
-
-#ifdef DDB
+#ifdef KDB
void ext2_checkoverlap(struct buf *, struct inode *);
#endif
@@ -91,7 +89,7 @@ ext2_blkatoff(vp, offset, res, bpp)
return (0);
}
-#ifdef DDB
+#ifdef KDB
void
ext2_checkoverlap(bp, ip)
struct buf *bp;
@@ -120,4 +118,4 @@ ext2_checkoverlap(bp, ip)
panic("Disk buffer overlap");
}
}
-#endif /* DDB */
+#endif /* KDB */
diff --git a/sys/gnu/fs/ext2fs/ext2_subr.c b/sys/gnu/fs/ext2fs/ext2_subr.c
index 7e93321a8158..94db9346b7c0 100644
--- a/sys/gnu/fs/ext2fs/ext2_subr.c
+++ b/sys/gnu/fs/ext2fs/ext2_subr.c
@@ -51,9 +51,7 @@
#include <gnu/ext2fs/ext2_fs_sb.h>
#include <gnu/ext2fs/fs.h>
-#include "opt_ddb.h"
-
-#ifdef DDB
+#ifdef KDB
void ext2_checkoverlap(struct buf *, struct inode *);
#endif
@@ -91,7 +89,7 @@ ext2_blkatoff(vp, offset, res, bpp)
return (0);
}
-#ifdef DDB
+#ifdef KDB
void
ext2_checkoverlap(bp, ip)
struct buf *bp;
@@ -120,4 +118,4 @@ ext2_checkoverlap(bp, ip)
panic("Disk buffer overlap");
}
}
-#endif /* DDB */
+#endif /* KDB */