diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-23 18:01:44 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-24 22:49:43 +0100 |
commit | c7dddd3975e892bc062b55a63bccbc390fcb368a (patch) | |
tree | 50e7dc0aee4ce47b1167bbce832bf5de64799dc1 /kern | |
parent | e23838032fef61d63bb82980dd0cbc1e6c0724f9 (diff) |
Remove leftover register qualifiers
* ddb/db_break.c: Remove register qualifiers.
* i386/i386/pcb.c: Likewise.
* i386/i386at/com.c: Likewise.
* i386/i386at/lpr.c: Likewise.
* i386/intel/pmap.c: Likewise.
* kern/machine.c: Likewise.
* kern/queue.h: Likewise.
* kern/sched_prim.c: Likewise.
* kern/sched_prim.h: Likewise.
* kern/timer.c: Likewise.
* vm/vm_fault.c: Likewise.
* vm/vm_resident.h: Likewise.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/machine.c | 2 | ||||
-rw-r--r-- | kern/queue.h | 2 | ||||
-rw-r--r-- | kern/sched_prim.c | 4 | ||||
-rw-r--r-- | kern/sched_prim.h | 2 | ||||
-rw-r--r-- | kern/timer.c | 3 |
5 files changed, 5 insertions, 8 deletions
diff --git a/kern/machine.c b/kern/machine.c index c1df28b..f69e728 100644 --- a/kern/machine.c +++ b/kern/machine.c @@ -409,7 +409,7 @@ __volatile__ void processor_doshutdown(); /* forward */ void processor_doaction(processor) -register processor_t processor; +processor_t processor; { thread_t this_thread; spl_t s; diff --git a/kern/queue.h b/kern/queue.h index 8835ad6..518084d 100644 --- a/kern/queue.h +++ b/kern/queue.h @@ -179,7 +179,7 @@ void insque(queue_entry_t, queue_entry_t); */ #define queue_enter(head, elt, type, field) \ { \ - register queue_entry_t prev; \ + queue_entry_t prev; \ \ prev = (head)->prev; \ if ((head) == prev) { \ diff --git a/kern/sched_prim.c b/kern/sched_prim.c index d378fa3..2946701 100644 --- a/kern/sched_prim.c +++ b/kern/sched_prim.c @@ -490,8 +490,8 @@ void thread_sleep( * xxx - DO NOT export this to users. */ void thread_bind( - register thread_t thread, - processor_t processor) + thread_t thread, + processor_t processor) { spl_t s; diff --git a/kern/sched_prim.h b/kern/sched_prim.h index 5311d16..e08f570 100644 --- a/kern/sched_prim.h +++ b/kern/sched_prim.h @@ -115,7 +115,7 @@ extern void compute_priority( thread_t thread, boolean_t resched); extern void thread_timeout_setup( - register thread_t thread); + thread_t thread); /* * Routines defined as macros diff --git a/kern/timer.c b/kern/timer.c index 124227c..d16329a 100644 --- a/kern/timer.c +++ b/kern/timer.c @@ -328,7 +328,6 @@ timer_t new_timer; * called only rarely, to make sure low_bits never overflows. */ void timer_normalize(timer) -register timer_t timer; { unsigned int high_increment; @@ -410,7 +409,6 @@ timer_save_t save; void timer_read(timer, tv) timer_t timer; -register time_value_t *tv; { timer_save_data_t temp; @@ -505,7 +503,6 @@ void db_thread_read_times(thread, user_time_p, system_time_p) unsigned timer_delta(timer, save) -register timer_t timer; timer_save_t save; { |