move schedppq from sched.h to param.h because it's used by some of
PRI_ constants.
This commit is contained in:
parent
6456819faa
commit
1ffbab1764
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: param.h,v 1.307 2008/03/01 14:16:52 rmind Exp $ */
|
/* $NetBSD: param.h,v 1.308 2008/03/17 08:20:05 yamt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1982, 1986, 1989, 1993
|
* Copyright (c) 1982, 1986, 1989, 1993
|
||||||
|
@ -264,6 +264,8 @@
|
||||||
|
|
||||||
#define PRI_IDLE PRI_USER
|
#define PRI_IDLE PRI_USER
|
||||||
|
|
||||||
|
extern const int schedppq;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Miscellaneous.
|
* Miscellaneous.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: sched.h,v 1.49 2008/02/28 16:09:19 elad Exp $ */
|
/* $NetBSD: sched.h,v 1.50 2008/03/17 08:20:05 yamt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1999, 2000, 2001, 2002, 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 1999, 2000, 2001, 2002, 2007 The NetBSD Foundation, Inc.
|
||||||
|
@ -200,7 +200,6 @@ struct schedstate_percpu {
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
|
|
||||||
extern int schedhz; /* ideally: 16 */
|
extern int schedhz; /* ideally: 16 */
|
||||||
extern const int schedppq;
|
|
||||||
|
|
||||||
struct proc;
|
struct proc;
|
||||||
struct cpu_info;
|
struct cpu_info;
|
||||||
|
|
Loading…
Reference in New Issue