Nuke all (but one) of the remaining RF_UTILITY's.
This commit is contained in:
parent
ceb8b43d54
commit
93e77ce121
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_acctrace.h,v 1.5 2002/09/14 18:07:31 oster Exp $ */
|
||||
/* $NetBSD: rf_acctrace.h,v 1.6 2002/11/23 02:44:14 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
@ -122,9 +122,9 @@ typedef struct RF_AccTotals_s {
|
||||
RF_Hist_t dw_hist[RF_HIST_NUM_BUCKETS];
|
||||
RF_Hist_t tot_hist[RF_HIST_NUM_BUCKETS];
|
||||
} RF_AccTotals_t;
|
||||
#if RF_UTILITY == 0
|
||||
|
||||
RF_DECLARE_EXTERN_MUTEX(rf_tracing_mutex)
|
||||
#endif /* RF_UTILITY == 0 */
|
||||
|
||||
|
||||
int rf_ConfigureAccessTrace(RF_ShutdownList_t ** listp);
|
||||
void rf_LogTraceRec(RF_Raid_t * raid, RF_AccTraceEntry_t * rec);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_alloclist.h,v 1.5 2002/09/23 03:53:14 oster Exp $ */
|
||||
/* $NetBSD: rf_alloclist.h,v 1.6 2002/11/23 02:44:14 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
@ -50,10 +50,8 @@ struct RF_AllocListElem_s {
|
||||
|
||||
int rf_ConfigureAllocList(RF_ShutdownList_t ** listp);
|
||||
|
||||
#if RF_UTILITY == 0
|
||||
void rf_real_AddToAllocList(RF_AllocListElem_t * l, void *p, int size);
|
||||
void rf_FreeAllocList(RF_AllocListElem_t * l);
|
||||
RF_AllocListElem_t *rf_real_MakeAllocList(void);
|
||||
#endif /* RF_UTILITY == 0 */
|
||||
|
||||
#endif /* !_RF__RF_ALLOCLIST_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_debugMem.c,v 1.11 2002/09/16 23:40:57 oster Exp $ */
|
||||
/* $NetBSD: rf_debugMem.c,v 1.12 2002/11/23 02:44:15 oster Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
@ -29,15 +29,10 @@
|
||||
/* debugMem.c: memory usage debugging stuff.
|
||||
* Malloc, Calloc, and Free are #defined everywhere
|
||||
* to do_malloc, do_calloc, and do_free.
|
||||
*
|
||||
* if RF_UTILITY is nonzero, it means were compiling one of the
|
||||
* raidframe utility programs, such as rfctrl or smd. In this
|
||||
* case, we eliminate all references to the threads package
|
||||
* and to the allocation list stuff.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_debugMem.c,v 1.11 2002/09/16 23:40:57 oster Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rf_debugMem.c,v 1.12 2002/11/23 02:44:15 oster Exp $");
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rf_evenodd_dags.h,v 1.3 2001/10/04 15:58:53 oster Exp $ */
|
||||
/* $NetBSD: rf_evenodd_dags.h,v 1.4 2002/11/23 02:44:14 oster Exp $ */
|
||||
/*
|
||||
* rf_evenodd_dags.h
|
||||
*/
|
||||
@ -34,7 +34,6 @@
|
||||
|
||||
#include <dev/raidframe/raidframevar.h>
|
||||
|
||||
#if RF_UTILITY == 0
|
||||
#include "rf_dag.h"
|
||||
|
||||
/* extern decl's of the failure mode EO functions.
|
||||
@ -58,6 +57,5 @@ RF_CREATE_DAG_FUNC_DECL(rf_EO_DoubleDegRead);
|
||||
RF_CREATE_DAG_FUNC_DECL(rf_EOCreateSmallWriteDAG);
|
||||
RF_CREATE_DAG_FUNC_DECL(rf_EOCreateLargeWriteDAG);
|
||||
RF_CREATE_DAG_FUNC_DECL(rf_EO_200_CreateWriteDAG);
|
||||
#endif /* RF_UTILITY == 0 */
|
||||
|
||||
#endif /* !_RF__RF_EVENODD_DAGS_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user