diff options
author | 2012-07-01 12:11:53 +0000 | |
---|---|---|
committer | 2012-07-01 12:11:53 +0000 | |
commit | bfde0aea7d4dd636a494d47d2a17fe88b5f4d4b5 (patch) | |
tree | a62a4edb040a4ccbef4b1d8eb5e0095f77589f48 | |
parent | typo in comment, s/withdrawl/withdrawal/ (diff) | |
download | wireguard-openbsd-bfde0aea7d4dd636a494d47d2a17fe88b5f4d4b5.tar.xz wireguard-openbsd-bfde0aea7d4dd636a494d47d2a17fe88b5f4d4b5.zip |
Do not define XDC_DIAG if option SMALL_KERNEL; shaves about 14KB, and allows
sparc floppies to fit again.
-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 |