summaryrefslogtreecommitdiff
path: root/kern/syscall_subr.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-12 14:19:46 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-13 01:31:39 +0100
commitbdf7752a7899d2496e088ba91ca3e7c43bebac7d (patch)
tree7ee41a65b41dae43412a3271f5d99e9acc6c48e1 /kern/syscall_subr.c
parent4ade3db4326be52fd9b88a7880d42daaf8fabe9e (diff)
kern: remove register qualifiers
* kern/syscall_subr.c: Remove register qualifiers.
Diffstat (limited to 'kern/syscall_subr.c')
-rw-r--r--kern/syscall_subr.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index 1a0ab93..77ea822 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -68,7 +68,7 @@ void thread_depress_priority(thread_t, mach_msg_timeout_t);
void swtch_continue(void)
{
- register processor_t myprocessor;
+ processor_t myprocessor;
myprocessor = current_processor();
thread_syscall_return(myprocessor->runq.count > 0 ||
@@ -78,7 +78,7 @@ void swtch_continue(void)
boolean_t swtch(void)
{
- register processor_t myprocessor;
+ processor_t myprocessor;
#if NCPUS > 1
myprocessor = current_processor();
@@ -96,8 +96,8 @@ boolean_t swtch(void)
void swtch_pri_continue(void)
{
- register thread_t thread = current_thread();
- register processor_t myprocessor;
+ thread_t thread = current_thread();
+ processor_t myprocessor;
if (thread->depress_priority >= 0)
(void) thread_depress_abort(thread);
@@ -110,8 +110,8 @@ void swtch_pri_continue(void)
boolean_t swtch_pri(pri)
int pri;
{
- register thread_t thread = current_thread();
- register processor_t myprocessor;
+ thread_t thread = current_thread();
+ processor_t myprocessor;
#if NCPUS > 1
myprocessor = current_processor();
@@ -138,7 +138,7 @@ boolean_t swtch_pri(pri)
void thread_switch_continue(void)
{
- register thread_t cur_thread = current_thread();
+ thread_t cur_thread = current_thread();
/*
* Restore depressed priority
@@ -162,8 +162,8 @@ mach_port_t thread_name;
int option;
mach_msg_timeout_t option_time;
{
- register thread_t cur_thread = current_thread();
- register processor_t myprocessor;
+ thread_t cur_thread = current_thread();
+ processor_t myprocessor;
ipc_port_t port;
/*
@@ -204,8 +204,8 @@ mach_msg_timeout_t option_time;
* Get corresponding thread.
*/
if (ip_active(port) && (ip_kotype(port) == IKOT_THREAD)) {
- register thread_t thread;
- register spl_t s;
+ thread_t thread;
+ spl_t s;
thread = (thread_t) port->ip_kobject;
/*
@@ -286,7 +286,7 @@ mach_msg_timeout_t option_time;
*/
void
thread_depress_priority(thread, depress_time)
-register thread_t thread;
+thread_t thread;
mach_msg_timeout_t depress_time;
{
unsigned int ticks;
@@ -324,7 +324,7 @@ mach_msg_timeout_t depress_time;
*/
void
thread_depress_timeout(thread)
-register thread_t thread;
+thread_t thread;
{
spl_t s;
@@ -353,7 +353,7 @@ register thread_t thread;
*/
kern_return_t
thread_depress_abort(thread)
-register thread_t thread;
+thread_t thread;
{
spl_t s;