summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/copyinout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/aim/copyinout.c')
-rw-r--r--sys/powerpc/aim/copyinout.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/powerpc/aim/copyinout.c b/sys/powerpc/aim/copyinout.c
index a7d416c..cab274c 100644
--- a/sys/powerpc/aim/copyinout.c
+++ b/sys/powerpc/aim/copyinout.c
@@ -66,6 +66,8 @@ static const char rcsid[] =
#include <vm/pmap.h>
#include <vm/vm_map.h>
+int setfault(faultbuf); /* defined in locore.S */
+
/*
* Makes sure that the right segment of userspace is mapped in.
*/
@@ -91,9 +93,6 @@ copyout(const void *kaddr, void *udaddr, size_t len)
td = PCPU_GET(curthread);
pm = &td->td_proc->p_vmspace->vm_pmap;
- printf("copyout: called with %p, %p, %d (td=%p)\n", kaddr, udaddr, len,
- td);
-
if (setfault(env)) {
td->td_pcb->pcb_onfault = NULL;
return (EFAULT);
@@ -135,9 +134,6 @@ copyin(const void *udaddr, void *kaddr, size_t len)
td = PCPU_GET(curthread);
pm = &td->td_proc->p_vmspace->vm_pmap;
- printf("copyin: called with %p, %p, %d (td=%p)\n", udaddr, kaddr, len,
- td);
-
if (setfault(env)) {
td->td_pcb->pcb_onfault = NULL;
return (EFAULT);
OpenPOWER on IntegriCloud