remove unused M_SA.
This commit is contained in:
parent
6d02918db1
commit
6108244889
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_sa.c,v 1.74 2006/06/11 07:32:18 rjs Exp $ */
|
||||
/* $NetBSD: kern_sa.c,v 1.75 2006/06/25 07:46:39 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc.
|
||||
@ -40,7 +40,7 @@
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
#include "opt_multiprocessor.h"
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.74 2006/06/11 07:32:18 rjs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.75 2006/06/25 07:46:39 yamt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -48,7 +48,6 @@ __KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.74 2006/06/11 07:32:18 rjs Exp $");
|
||||
#include <sys/proc.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/ucontext.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/sa.h>
|
||||
#include <sys/savar.h>
|
||||
@ -78,8 +77,6 @@ static void sa_upcall0(struct sadata_upcall *, int, struct lwp *, struct lwp *,
|
||||
size_t, void *, void (*)(void *));
|
||||
static void sa_upcall_getstate(union sau_state *, struct lwp *);
|
||||
|
||||
MALLOC_DEFINE(M_SA, "sa", "Scheduler activations");
|
||||
|
||||
#define SA_DEBUG
|
||||
|
||||
#ifdef SA_DEBUG
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: savar.h,v 1.18 2006/03/29 23:02:31 cube Exp $ */
|
||||
/* $NetBSD: savar.h,v 1.19 2006/06/25 07:46:39 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -133,12 +133,6 @@ extern struct pool saupcall_pool; /* memory pool for pending upcalls */
|
||||
extern struct pool sastack_pool; /* memory pool for sastack structs */
|
||||
extern struct pool savp_pool; /* memory pool for sadata_vp structures */
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/mallocvar.h>
|
||||
|
||||
MALLOC_DECLARE(M_SA);
|
||||
#endif
|
||||
|
||||
#define SA_MAXNUMSTACKS 16 /* Maximum number of upcall stacks per VP. */
|
||||
|
||||
struct sadata_upcall *sadata_upcall_alloc(int);
|
||||
|
Loading…
Reference in New Issue
Block a user