summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/machine.c2
-rw-r--r--kern/queue.h2
-rw-r--r--kern/sched_prim.c4
-rw-r--r--kern/sched_prim.h2
-rw-r--r--kern/timer.c3
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;
{