DragonFly BSD
DragonFly submit List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

proc.h: minor cleanup


From: Peter Kadau <peter.kadau@xxxxxxxxxxxxxxxx>
Date: Fri, 02 Jan 2004 21:05:15 +0100

Hi !

The extern references to queues[] and whichqs etc. in proc.h
are AFAIK old cruft which may be safely removed.
The only sourcefile that references and defines those is kern/kern_switch.c.
I've been searching through the sourcetree but could have missed
something - particularly in the emulation layers...
Does anybody need that ?
I did an entire world cycle and nothing complained.

Cheers
Peter

--
<peter.kadau@xxxxxxxxxxxxxxxx>

Campus der Max-Planck-Institute Tübingen
Netzwerk- und Systemadministration

Tel: +49 7071 601 598
Fax: +49 7071 601 616
Index: sys/proc.h
===================================================================
RCS file: /local/dragonfly/src/sys/sys/proc.h,v
retrieving revision 1.40
diff -u -r1.40 proc.h
--- sys/proc.h	27 Dec 2003 23:58:40 -0000	1.40
+++ sys/proc.h	2 Jan 2004 18:46:21 -0000
@@ -374,12 +374,6 @@
 
 #define	NQS	32			/* 32 run queues. */
 TAILQ_HEAD(rq, proc);
-extern struct rq queues[];
-extern struct rq rtqueues[];
-extern struct rq idqueues[];
-extern int	whichqs;	/* Bit mask summary of non-empty Q's. */
-extern int	whichrtqs;	/* Bit mask summary of non-empty Q's. */
-extern int	whichidqs;	/* Bit mask summary of non-empty Q's. */
 
 /*
  * Scheduler estcpu macros.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]