summaryrefslogtreecommitdiff
path: root/kern/mach_factor.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mach_factor.c')
-rw-r--r--kern/mach_factor.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kern/mach_factor.c b/kern/mach_factor.c
index 1a17213..34a7d0c 100644
--- a/kern/mach_factor.c
+++ b/kern/mach_factor.c
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
@@ -41,7 +41,7 @@
#if MACH_KERNEL
#include <mach/kern_return.h>
#include <mach/port.h>
-#endif MACH_KERNEL
+#endif /* MACH_KERNEL */
long avenrun[3] = {0, 0, 0};
@@ -92,7 +92,7 @@ void compute_mach_factor()
/*
* account for threads on cpus.
*/
- nthreads += ncpus - pset->idle_count;
+ nthreads += ncpus - pset->idle_count;
/*
* The current thread (running this calculation)