summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/cpu.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-05-08 07:23:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-05-08 07:23:19 +0000
commit3eb07b4112daaf1479491a253f5e56aefad54e0d (patch)
tree5326d65a789b084ee9f9eadd6fb7083301e12b7f /sys/arch/sparc/include/cpu.h
parent4048e467e4191dd3654334d8f4792c90a9602b9a (diff)
Switch sparc to __HAVE_CPUINFO.
miod@ tested (since I hacked it up blindly) and ok.
Diffstat (limited to 'sys/arch/sparc/include/cpu.h')
-rw-r--r--sys/arch/sparc/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h
index c866f1d4803..44686965093 100644
--- a/sys/arch/sparc/include/cpu.h
+++ b/sys/arch/sparc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.28 2007/03/15 10:22:29 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.29 2007/05/08 07:23:18 art Exp $ */
/* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */
/*
@@ -68,7 +68,9 @@
#include <sys/evcount.h>
#include <machine/psl.h>
+#include <machine/reg.h>
#include <sparc/sparc/intreg.h>
+#include <sparc/sparc/cpuvar.h>
/*
* definitions of cpu-dependent requirements