diff options
| author | oster <oster@NetBSD.org> | 2001-06-19 03:25:16 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2001-06-19 03:25:16 +0000 |
| commit | 0e8f8213af24aaa2ae1471b962afabcb9ce463d3 (patch) | |
| tree | 93e34e9a9e1a14372204bcb4f3bec4516a476804 /sys/dev/raidframe | |
| parent | 495370b307348ef58fdf0902ac1566fb4617c71c (diff) | |
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 (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_pq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_pq.c b/sys/dev/raidframe/rf_pq.c index d3d415861c8..d9b1f4c7932 100644 --- a/sys/dev/raidframe/rf_pq.c +++ b/sys/dev/raidframe/rf_pq.c @@ -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 @@ rf_RegularPFunc(node) { 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 |
