summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
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);