summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
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/arch/loongson
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/arch/loongson')
-rw-r--r--sys/arch/loongson/loongson/hibernate_machdep.c3
-rw-r--r--sys/arch/loongson/loongson/machdep.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/loongson/loongson/hibernate_machdep.c b/sys/arch/loongson/loongson/hibernate_machdep.c
index c7c9fc77002..d0d565d759f 100644
--- a/sys/arch/loongson/loongson/hibernate_machdep.c
+++ b/sys/arch/loongson/loongson/hibernate_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hibernate_machdep.c,v 1.7 2014/07/20 19:47:53 deraadt Exp $ */
+/* $OpenBSD: hibernate_machdep.c,v 1.8 2015/05/05 02:13:46 guenther Exp $ */
/*
* Copyright (c) 2013 Paul Irofti.
@@ -26,7 +26,6 @@
#include <sys/hibernate.h>
#include <sys/timeout.h>
#include <sys/malloc.h>
-#include <sys/kcore.h>
#include <uvm/uvm_extern.h>
#include <uvm/uvm_pmemrange.h>
diff --git a/sys/arch/loongson/loongson/machdep.c b/sys/arch/loongson/loongson/machdep.c
index c1b99e72467..eaef59d6460 100644
--- a/sys/arch/loongson/loongson/machdep.c
+++ b/sys/arch/loongson/loongson/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.61 2014/12/10 15:29:53 mikeb Exp $ */
+/* $OpenBSD: machdep.c,v 1.62 2015/05/05 02:13:46 guenther Exp $ */
/*
* Copyright (c) 2009, 2010, 2014 Miodrag Vallat.
@@ -62,7 +62,6 @@
#ifdef SYSVSEM
#include <sys/sem.h>
#endif
-#include <sys/kcore.h>
#include <net/if.h>