diff options
| author | 2009-06-17 22:19:12 +0000 | |
|---|---|---|
| committer | 2009-06-17 22:19:12 +0000 | |
| commit | bef04876cc06cb93b4cbb9b3d0ecf5e58baac847 (patch) | |
| tree | 943cdf6afdf07c87de5b4923794890253c1af473 /sys/uvm/uvm_unix.c | |
| parent | Correctly handle the carp demote counter in all input cases. (diff) | |
| download | wireguard-openbsd-bef04876cc06cb93b4cbb9b3d0ecf5e58baac847.tar.xz wireguard-openbsd-bef04876cc06cb93b4cbb9b3d0ecf5e58baac847.zip | |
Recommit part of miod's no-coredumps-on-ramdisks diff that got lost in the
big uvm backout mess.
ok miod@
Diffstat (limited to 'sys/uvm/uvm_unix.c')
| -rw-r--r-- | sys/uvm/uvm_unix.c | 6 |
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 */ |
