diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-11 19:42:58 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-13 01:31:35 +0100 |
commit | 2eb6a0e3ac5f4cf32ecdb5a7b2ae416a1cf19382 (patch) | |
tree | e28f4753bff6fa549c83330929385bdcb6a4de8f | |
parent | 97bd0931cd050d48a8b5a01570abe3c7d7b30c9e (diff) | |
download | gnumach-2eb6a0e3ac5f4cf32ecdb5a7b2ae416a1cf19382.tar.gz gnumach-2eb6a0e3ac5f4cf32ecdb5a7b2ae416a1cf19382.tar.bz2 gnumach-2eb6a0e3ac5f4cf32ecdb5a7b2ae416a1cf19382.zip |
kern: remove register qualifiers
* kern/ast.c: Remove register qualifiers.
-rw-r--r-- | kern/ast.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -59,7 +59,7 @@ void ast_init() { #ifndef MACHINE_AST - register int i; + int i; for (i=0; i<NCPUS; i++) need_ast[i] = 0; @@ -69,8 +69,8 @@ ast_init() void ast_taken(void) { - register thread_t self = current_thread(); - register ast_t reasons; + thread_t self = current_thread(); + ast_t reasons; /* * Interrupts are still disabled. @@ -116,10 +116,10 @@ ast_taken(void) void ast_check() { - register int mycpu = cpu_number(); - register processor_t myprocessor; - register thread_t thread = current_thread(); - register run_queue_t rq; + int mycpu = cpu_number(); + processor_t myprocessor; + thread_t thread = current_thread(); + run_queue_t rq; spl_t s = splsched(); /* @@ -190,7 +190,7 @@ ast_check() #endif /* MACH_FIXPRI */ rq = &(myprocessor->processor_set->runq); if (!(myprocessor->first_quantum) && (rq->count > 0)) { - register queue_t q; + queue_t q; /* * This is not the first quantum, and there may * be something in the processor_set runq. @@ -198,7 +198,7 @@ ast_check() */ q = rq->runq + *(volatile int *)&rq->low; if (queue_empty(q)) { - register int i; + int i; /* * Need to recheck and possibly update hint. |