summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_unix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index 271f0ec2edc..45c9f192558 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.38 2009/06/17 00:13:59 oga Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.39 2009/06/17 22:19:12 kettenis Exp $ */
/* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */
/*
@@ -147,6 +147,8 @@ uvm_grow(struct proc *p, vaddr_t sp)
vm->vm_ssize += si;
}
+#ifndef SMALL_KERNEL
+
/*
* uvm_coredump: dump core!
*/
@@ -320,3 +322,5 @@ uvm_coredump_walkmap(struct proc *p, void *iocookie,
return (0);
}
+
+#endif /* !SMALL_KERNEL */