summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_extern.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-05-05 02:13:48 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-05-05 02:13:48 +0000
commit40b409238afa7889605830c063f16b4d731eaec2 (patch)
tree07026cd7c5b72f5fe0c6ee04fa46812bcb5229c4 /sys/uvm/uvm_extern.h
parent8b8ca5671214b412eb81645a853cca97bd0c4963 (diff)
emul_native is only used for kernel threads which can't dump core, so
delete coredump_trad(), uvm_coredump(), cpu_coredump(), struct md_coredump, and various #includes that are superfluous. This leaves compat_linux processes without a coredump callback. If that ability is desired, someone should update it to use coredump_elf32() and verify the results... ok kettenis@
Diffstat (limited to 'sys/uvm/uvm_extern.h')
-rw-r--r--sys/uvm/uvm_extern.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index ddee989106b..68b97337042 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.131 2015/02/07 08:21:24 miod Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.132 2015/05/05 02:13:46 guenther Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -167,7 +167,6 @@ typedef int vm_prot_t;
#ifdef _KERNEL
struct buf;
-struct core;
struct mount;
struct pglist;
struct vmspace;
@@ -462,8 +461,6 @@ int uvm_pglistalloc(psize_t, paddr_t, paddr_t,
void uvm_pglistfree(struct pglist *);
void uvm_pmr_use_inc(paddr_t, paddr_t);
void uvm_swap_init(void);
-int uvm_coredump(struct proc *, struct vnode *,
- struct ucred *, struct core *);
int uvm_coredump_walkmap(struct proc *,
void *, int (*)(struct proc *, void *,
struct uvm_coredump_state *), void *);