proc.h: minor cleanup

Peter Kadau peter.kadau at tuebingen.mpg.de
Fri Jan 2 12:06:15 PST 2004


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 at 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.




More information about the Submit mailing list