summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_unix.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-06 21:25:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-06 21:25:22 +0000
commitb32c7224794581b79ef41414f97b7260a7ff6c1c (patch)
tree1207eba07a35064f273890e1a106325fc99521f9 /sys/uvm/uvm_unix.c
parente6a59b3d8e9ba0ff00f83a6dd0ed6b54afb79a6e (diff)
We need miod's no-coredumps-on-ramdisks diff, because we have grown the
media just a wee bit too much.
Diffstat (limited to 'sys/uvm/uvm_unix.c')
-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 192faf6c106..f5d33a3e188 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.36 2009/03/20 15:19:04 oga Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.37 2009/06/06 21:25:21 deraadt 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 */