summaryrefslogtreecommitdiff
path: root/devio
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-04 21:36:44 +0000
committerMiles Bader <miles@gnu.org>1995-10-04 21:36:44 +0000
commit1250b118d99ee719b2da50f958498f10b56bed4d (patch)
tree9ba08e8194ea82d56a63952984da6298fcc10fe5 /devio
parent777a1359eb9ba1fec24b43c0b780f261f6baefbc (diff)
(pager_write_page, pager_read_page): Get rid of debugging noise.
Diffstat (limited to 'devio')
-rw-r--r--devio/devpager.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/devio/devpager.c b/devio/devpager.c
index 02fd54ed..1f3b3ee1 100644
--- a/devio/devpager.c
+++ b/devio/devpager.c
@@ -47,16 +47,6 @@ pager_read_page(struct user_pager_info *upi,
err = device_read(dev->port, 0, page / dev->dev_block_size, want,
(io_buf_ptr_t *)buf, &read);
-#ifdef MSG
- if (debug)
- {
- mutex_lock(&debug_lock);
- fprintf(debug, "device_read(%d, %d) [pager] => %s, %s, %d\n",
- page / dev->dev_block_size, want,
- strerror(err), err ? "-" : brep(*buf, read), read);
- mutex_unlock(&debug_lock);
- }
-#endif
if (!err && want < vm_page_size)
/* Zero anything we didn't read. Allocation only happens in page-size
@@ -94,17 +84,6 @@ pager_write_page(struct user_pager_info *upi,
err = device_write(dev->port, 0, page / dev->dev_block_size,
(io_buf_ptr_t)buf, want, &written);
-#ifdef MSG
- if (debug)
- {
- mutex_lock(&debug_lock);
- fprintf(debug, "device_write(%d, %s, %d) [pager] => %s, %d\n",
- page / dev->dev_block_size,
- brep(buf, vm_page_size), vm_page_size,
- strerror(err), written);
- mutex_unlock(&debug_lock);
- }
-#endif
vm_deallocate(mach_task_self(), buf, vm_page_size);