diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-03-16 22:22:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-03-16 22:22:16 +0000 |
commit | 8e260bcb250f44f859019d8af5e959919c8b1f5f (patch) | |
tree | 1c9f7d054575bfbf211e24687dde8d1ee5b88868 /sys/arch/sparc64 | |
parent | e2f8500862e6df7dc2cfbab1173b1ec1c0a05200 (diff) |
Include <sparc64/dev/starfire.h> instead of having our own definitions.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/cpu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sparc64/sparc64/cpu.c b/sys/arch/sparc64/sparc64/cpu.c index 4944d57f1a5..545b146b1bf 100644 --- a/sys/arch/sparc64/sparc64/cpu.c +++ b/sys/arch/sparc64/sparc64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.34 2008/03/15 22:05:51 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.35 2008/03/16 22:22:15 kettenis Exp $ */ /* $NetBSD: cpu.c,v 1.13 2001/05/26 21:27:15 chs Exp $ */ /* @@ -68,6 +68,8 @@ #include <sparc64/sparc64/cache.h> +#include <sparc64/dev/starfire.h> + /* This is declared here so that you must include a CPU for the cache code. */ struct cacheinfo cacheinfo = { us_dcache_flush_page @@ -382,9 +384,6 @@ struct cfdriver cpu_cd = { #ifdef MULTIPROCESSOR void cpu_mp_startup(void); -#define STARFIRE_UPAID2HWMID(upaid) \ - (((upaid & 0x3c) << 1) | ((upaid & 0x40) >> 4) | (upaid & 0x3)) - void cpu_boot_secondary_processors(void) { |