diff options
Diffstat (limited to 'kern')
-rw-r--r-- | kern/bootstrap.c | 2 | ||||
-rw-r--r-- | kern/profile.c | 6 | ||||
-rw-r--r-- | kern/thread.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c index c21d3b1c..18b6b182 100644 --- a/kern/bootstrap.c +++ b/kern/bootstrap.c @@ -493,7 +493,7 @@ read_exec(void *handle, vm_offset_t file_ofs, vm_size_t file_size, static void copy_bootstrap(void *e, exec_info_t *boot_exec_info) { - //register vm_map_t user_map = current_task()->map; + /* vm_map_t user_map = current_task()->map; */ int err; if ((err = exec_load(boot_read, read_exec, e, boot_exec_info))) diff --git a/kern/profile.c b/kern/profile.c index 1381b1a5..b33d6953 100644 --- a/kern/profile.c +++ b/kern/profile.c @@ -71,7 +71,7 @@ void profile_thread() int arg[SIZE_PROF_BUFFER+1]; } msg; - register spl_t s; + spl_t s; buf_to_send_t buf_entry; queue_entry_t prof_queue_entry; prof_data_t pbuf; @@ -113,7 +113,7 @@ void profile_thread() else { task_t curr_task; thread_t curr_th; - register int *sample; + int *sample; int curr_buf; int imax; @@ -183,7 +183,7 @@ void send_last_sample_buf(th) thread_t th; { - register spl_t s; + spl_t s; buf_to_send_t buf_entry; vm_offset_t vm_buf_entry; diff --git a/kern/thread.c b/kern/thread.c index 0ac7c535..8637e36f 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -2257,7 +2257,7 @@ thread_wire( void thread_collect_scan(void) { - register thread_t thread, prev_thread; + thread_t thread, prev_thread; processor_set_t pset, prev_pset; prev_thread = THREAD_NULL; |