From 76d322c58cd313c3b29501c2fad721ae44fffb51 Mon Sep 17 00:00:00 2001 From: oster Date: Wed, 20 Jun 2001 03:09:23 +0000 Subject: [PATCH] #if out a few more bits that arn't required if we are not doing PQ or RAID6. --- sys/dev/raidframe/rf_pqdeg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/dev/raidframe/rf_pqdeg.h b/sys/dev/raidframe/rf_pqdeg.h index 42bb09b5df2c..65abcc7cb805 100644 --- a/sys/dev/raidframe/rf_pqdeg.h +++ b/sys/dev/raidframe/rf_pqdeg.h @@ -1,4 +1,4 @@ -/* $NetBSD: rf_pqdeg.h,v 1.3 1999/02/05 00:06:15 oster Exp $ */ +/* $NetBSD: rf_pqdeg.h,v 1.4 2001/06/20 03:09:23 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -29,6 +29,8 @@ #ifndef _RF__RF_PQDEG_H_ #define _RF__RF_PQDEG_H_ +#if (RF_INCLUDE_PQ > 0) || (RF_INCLUDE_RAID6 > 0) + #include "rf_types.h" #if RF_UTILITY == 0 @@ -71,4 +73,6 @@ extern RF_ua1024_t rf_qinv[29 * 29]; extern RF_ua1024_t rf_qinv[1]; #endif /* !_KERNEL */ +#endif /* (RF_INCLUDE_PQ > 0) || (RF_INCLUDE_RAID6 > 0) */ + #endif /* !_RF__RF_PQDEG_H_ */