summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-12 11:10:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-13 01:31:37 +0100
commitfb7b8f3f7d19eb057d8f28fdaeb1d68ed377d252 (patch)
tree95a7fca233e58948f56ba36c287f6fa0befd08ca
parenta0e89efc4cf81b3b219a56a97a2fdf9ef05b2f0a (diff)
kern: remove register qualifiers
* kern/mach_factor.c: Remove register qualifiers.
-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 558c4a0..debce0b 100644
--- a/kern/mach_factor.c
+++ b/kern/mach_factor.c
@@ -55,13 +55,13 @@ static long fract[3] = {
void compute_mach_factor(void)
{
- register processor_set_t pset;
- register processor_t processor;
- register int ncpus;
- register int nthreads;
- register long factor_now;
- register long average_now;
- register long load_now;
+ processor_set_t pset;
+ processor_t processor;
+ int ncpus;
+ int nthreads;
+ long factor_now;
+ long average_now;
+ long load_now;
simple_lock(&all_psets_lock);
pset = (processor_set_t) queue_first(&all_psets);
@@ -123,7 +123,7 @@ void compute_mach_factor(void)
* And some ugly stuff to keep w happy.
*/
if (pset == &default_pset) {
- register int i;
+ int i;
for (i = 0; i < 3; i++) {
mach_factor[i] = ( (mach_factor[i]*fract[i])