summaryrefslogtreecommitdiff
path: root/sys/arch/mipsco/include/cpu.h
diff options
context:
space:
mode:
authorwdk <wdk@NetBSD.org>2000-08-17 21:26:34 +0000
committerwdk <wdk@NetBSD.org>2000-08-17 21:26:34 +0000
commit702ec79b19738c48d61e9b275b6dc9d400a69fec (patch)
treefcee75aec69ba2eeac5439fa0760c104e55972ef /sys/arch/mipsco/include/cpu.h
parent788fbc67037f44feea355e3fc470f1dc54a83375 (diff)
#include <mips/locore.h> no longer required since implementing bus_space(9)
remove unused extern variable that is never used in mipsco port
Diffstat (limited to 'sys/arch/mipsco/include/cpu.h')
-rw-r--r--sys/arch/mipsco/include/cpu.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mipsco/include/cpu.h b/sys/arch/mipsco/include/cpu.h
index 79a246d8302..cbe1ba92809 100644
--- a/sys/arch/mipsco/include/cpu.h
+++ b/sys/arch/mipsco/include/cpu.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.1 2000/08/12 22:58:11 wdk Exp $ */
+/* $NetBSD: cpu.h,v 1.2 2000/08/17 21:26:34 wdk Exp $ */
#ifndef _MIPSCO_CPU_H_
#define _MIPSCO_CPU_H_
@@ -11,10 +11,6 @@
#include "opt_lockdebug.h"
#endif
-#include <mips/locore.h>
-
-extern int systype;
-
#include <sys/sched.h>
struct cpu_info {
struct schedstate_percpu ci_schedstate; /* scheduler state */
@@ -30,6 +26,6 @@ extern struct cpu_info cpu_info_store;
#define curcpu() (&cpu_info_store)
#define cpu_number() 0
#endif /* _KERNEL */
+#endif /* !_LOCORE */
-#endif /* _LOCORE */
#endif /* !_MIPSCO_CPU_H_ */