summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_unix.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-06-06 21:25:19 +0000
committerderaadt <deraadt@openbsd.org>2009-06-06 21:25:19 +0000
commit930f9cdf6c21866eb032346d79f49481167b4e8f (patch)
tree3e50d87da2980e97b3b4fc9f2c714271ac7c5ddb /sys/uvm/uvm_unix.c
parentFix bgpctl show rib prefix/len command. Problem reported by Insan Praja. (diff)
downloadwireguard-openbsd-930f9cdf6c21866eb032346d79f49481167b4e8f.tar.xz
wireguard-openbsd-930f9cdf6c21866eb032346d79f49481167b4e8f.zip
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 */