diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-07-01 12:11:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-07-01 12:11:54 +0000 |
commit | 812f62f45dd8f24ff9f4a7f95e992c8c31f256e5 (patch) | |
tree | d3f0740d2db94009faaef06ef6ebba9fc427eea9 /sys | |
parent | 890ae40ae565d1ad2102f164482cf6d42a3389e4 (diff) |
Do not define XDC_DIAG if option SMALL_KERNEL; shaves about 14KB, and allows
sparc floppies to fit again.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/xd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/xd.c b/sys/arch/sparc/dev/xd.c index 166dee9db63..8c3040b9ea6 100644 --- a/sys/arch/sparc/dev/xd.c +++ b/sys/arch/sparc/dev/xd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xd.c,v 1.56 2011/07/06 04:49:35 matthew Exp $ */ +/* $OpenBSD: xd.c,v 1.57 2012/07/01 12:11:53 miod Exp $ */ /* $NetBSD: xd.c,v 1.37 1997/07/29 09:58:16 fair Exp $ */ /* @@ -53,7 +53,9 @@ */ #undef XDC_DEBUG /* full debug */ +#if !defined(SMALL_KERNEL) #define XDC_DIAG /* extra sanity checks */ +#endif #if defined(DIAGNOSTIC) && !defined(XDC_DIAG) #define XDC_DIAG /* link in with master DIAG option */ #endif |