diff: systm.h cleanup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

diff: systm.h cleanup

Vladimir Kirillov-2
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 */