aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1997-01-23 01:30:59 +0000
committerJohn Dyson <dyson@FreeBSD.org>1997-01-23 01:30:59 +0000
commit7e64cb7a96100d087c935efdaecf67fe2b934c5a (patch)
tree5f39c2b85189cefa93f0fc593fc3dd43358481ac /sys
parentb9ee2adda675d835df03e0969ab29a4c17449e27 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/trap.c4
-rw-r--r--sys/i386/i386/trap.c4
-rw-r--r--sys/kern/subr_trap.c4
3 files changed, 3 insertions, 9 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 26a0cd5ee053..b38e35d49f0e 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -781,7 +781,7 @@ int trapwrite(addr)
unsigned addr;
{
struct proc *p;
- vm_offset_t va, v;
+ vm_offset_t va;
struct vmspace *vm;
int rv;
@@ -805,8 +805,6 @@ int trapwrite(addr)
}
}
- v = trunc_page(vtopte(va));
-
/*
* fault the data page
*/
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 26a0cd5ee053..b38e35d49f0e 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -781,7 +781,7 @@ int trapwrite(addr)
unsigned addr;
{
struct proc *p;
- vm_offset_t va, v;
+ vm_offset_t va;
struct vmspace *vm;
int rv;
@@ -805,8 +805,6 @@ int trapwrite(addr)
}
}
- v = trunc_page(vtopte(va));
-
/*
* fault the data page
*/
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 26a0cd5ee053..b38e35d49f0e 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -781,7 +781,7 @@ int trapwrite(addr)
unsigned addr;
{
struct proc *p;
- vm_offset_t va, v;
+ vm_offset_t va;
struct vmspace *vm;
int rv;
@@ -805,8 +805,6 @@ int trapwrite(addr)
}
}
- v = trunc_page(vtopte(va));
-
/*
* fault the data page
*/