diff: systm.h cleanup

Previous thread: Iluminación Solar y LED by TBX on Friday, November 26, 2010 - 6:49 am. (1 message)

Next thread: DEPENDS cleanup rampage finished by Marc Espie on Friday, November 26, 2010 - 1:38 pm. (1 message)
From: Vladimir Kirillov
Date: Friday, November 26, 2010 - 11:29 am

Hello, tech@!

Removed curpriority, since it didn't grep anywhere.
By the way, why is this file called systm.h? Historical reasons?

Index: systm.h
===================================================================
RCS file: /cvs/src/sys/sys/systm.h,v
retrieving revision 1.86
diff -u -p -r1.86 systm.h
--- systm.h	21 Sep 2010 01:09:10 -0000	1.86
+++ systm.h	26 Nov 2010 18:25:03 -0000
@@ -86,12 +86,6 @@ extern int nchrdev;		/* number of entrie
 
 extern int selwait;		/* select timeout address */
 
-#ifdef MULTIPROCESSOR
-#define curpriority (curcpu()->ci_schedstate.spc_curpriority)
-#else
-extern u_char curpriority;	/* priority of current process */
-#endif
-
 extern int maxmem;		/* max memory per process */
 extern int physmem;		/* physical memory */

Previous thread: Iluminación Solar y LED by TBX on Friday, November 26, 2010 - 6:49 am. (1 message)

Next thread: DEPENDS cleanup rampage finished by Marc Espie on Friday, November 26, 2010 - 1:38 pm. (1 message)