Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe A bunch of these bits are only needed for ...



details:   https://anonhg.NetBSD.org/src/rev/ca24aba2634f
branches:  trunk
changeset: 511400:ca24aba2634f
user:      oster <oster%NetBSD.org@localhost>
date:      Tue Jun 19 03:25:16 2001 +0000

description:
A bunch of these bits are only needed for the EVENODD stuff.
Shaves a little better than 1K off the size of an i386 kernel.

diffstat:

 sys/dev/raidframe/rf_pq.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r b377f2c86ede -r ca24aba2634f sys/dev/raidframe/rf_pq.c
--- a/sys/dev/raidframe/rf_pq.c Tue Jun 19 02:49:05 2001 +0000
+++ b/sys/dev/raidframe/rf_pq.c Tue Jun 19 03:25:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_pq.c,v 1.7 2000/01/07 03:41:02 oster Exp $  */
+/*     $NetBSD: rf_pq.c,v 1.8 2001/06/19 03:25:16 oster Exp $  */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -31,6 +31,9 @@
  */
 
 #include "rf_archs.h"
+
+#if (RF_INCLUDE_DECL_PQ > 0) || (RF_INCLUDE_RAID6 > 0) || (RF_INCLUDE_EVENODD > 0)
+
 #include "rf_types.h"
 #include "rf_raid.h"
 #include "rf_dag.h"
@@ -79,6 +82,7 @@
 {
        return (rf_RegularXorFunc(node));
 }
+#endif /* (RF_INCLUDE_DECL_PQ > 0) || (RF_INCLUDE_RAID6 > 0) || (RF_INCLUDE_EVENODD > 0) */
 #if (RF_INCLUDE_DECL_PQ > 0) || (RF_INCLUDE_RAID6 > 0)
 
 static void 



Home | Main Index | Thread Index | Old Index