summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-23 18:01:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-24 22:49:43 +0100
commitc7dddd3975e892bc062b55a63bccbc390fcb368a (patch)
tree50e7dc0aee4ce47b1167bbce832bf5de64799dc1 /i386
parente23838032fef61d63bb82980dd0cbc1e6c0724f9 (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 'i386')
-rw-r--r--i386/i386/pcb.c2
-rw-r--r--i386/i386at/com.c2
-rw-r--r--i386/i386at/lpr.c2
-rw-r--r--i386/intel/pmap.c6
4 files changed, 6 insertions, 6 deletions
diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c
index da42bd1..bb30959 100644
--- a/i386/i386/pcb.c
+++ b/i386/i386/pcb.c
@@ -765,7 +765,7 @@ kern_return_t thread_getstatus(thread, flavor, tstate, count)
case i386_V86_ASSIST_STATE:
{
- register struct i386_v86_assist_state *state;
+ struct i386_v86_assist_state *state;
if (*count < i386_V86_ASSIST_STATE_COUNT)
return KERN_INVALID_ARGUMENT;
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index e0549ea..90e1d0b 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -548,7 +548,7 @@ int unit;
static void
comparam(unit)
-register int unit;
+int unit;
{
struct tty *tp = &com_tty[unit];
u_short addr = (int)tp->t_addr;
diff --git a/i386/i386at/lpr.c b/i386/i386at/lpr.c
index 0f06be0..557eb15 100644
--- a/i386/i386at/lpr.c
+++ b/i386/i386at/lpr.c
@@ -275,7 +275,7 @@ struct tty *tp;
void
lprstop(tp, flags)
-register struct tty *tp;
+struct tty *tp;
int flags;
{
if ((tp->t_state & TS_BUSY) && (tp->t_state & TS_TTSTOP) == 0)
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 7db14e5..038f3a8 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -1608,7 +1608,7 @@ void pmap_page_protect(phys, prot)
/*
* Write-protect.
*/
- register int i = ptes_per_vm_page;
+ int i = ptes_per_vm_page;
do {
#ifdef MACH_PV_PAGETABLES
@@ -2198,7 +2198,7 @@ void pmap_collect(p)
*/
wired = 0;
{
- register pt_entry_t *ptep;
+ pt_entry_t *ptep;
for (ptep = ptp; ptep < eptp; ptep++) {
if (*ptep & INTEL_PTE_WIRED) {
wired = 1;
@@ -2247,7 +2247,7 @@ void pmap_collect(p)
* And free the pte page itself.
*/
{
- register vm_page_t m;
+ vm_page_t m;
vm_object_lock(pmap_object);
m = vm_page_lookup(pmap_object, pa);