aboutsummaryrefslogtreecommitdiff
path: root/kern/profile.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-10-23 17:36:18 +0200
committerJustus Winter <justus@gnupg.org>2017-10-23 17:36:18 +0200
commit8088591b6e56257ea9bd0be68fd1e5f48be892b1 (patch)
treebf5c0690baf43de1c3e3d3f8385e891c3ea804ee /kern/profile.c
parent6c093a91e43873df7f16192fa0e5e4d73592fa64 (diff)
downloadgnumach-8088591b6e56257ea9bd0be68fd1e5f48be892b1.tar.gz
gnumach-8088591b6e56257ea9bd0be68fd1e5f48be892b1.tar.bz2
gnumach-8088591b6e56257ea9bd0be68fd1e5f48be892b1.zip
Drop the register qualifier.
* i386/intel/pmap.c: Drop the register qualifier. * ipc/ipc_kmsg.h: Likewise. * kern/bootstrap.c: Likewise. * kern/profile.c: Likewise. * kern/thread.c: Likewise. * vm/vm_object.c: Likewise.
Diffstat (limited to 'kern/profile.c')
-rw-r--r--kern/profile.c6
1 files changed, 3 insertions, 3 deletions
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;