diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2008-10-10 08:05:46 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2008-10-10 08:05:46 +0000 |
commit | f6566fc21328024e33b60c477810acc6cafa1237 (patch) | |
tree | d192668d70b0609199d8d9d6d4ce7f73eecec920 /sys/arch/mips64 | |
parent | 61cd21820a73ea490eb1e9d0b44e9ae52e9bec0a (diff) |
Define MAXCPUS on all architectures.
For now, sparc64 is arbitrarily set to 256 (only architecture that didn't have
a practical limit in the code on the number of cpus).
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h index be6846f83e8..9c5a9cd6942 100644 --- a/sys/arch/mips64/include/cpu.h +++ b/sys/arch/mips64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.26 2008/10/09 08:43:43 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.27 2008/10/10 08:05:45 art Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -385,6 +385,7 @@ extern struct cpu_info cpu_info_primary; #define CPU_INFO_FOREACH(cii, ci) \ for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) #define CPU_INFO_UNIT(ci) 0 +#define MAXCPUS 1 #define cpu_number() 0 |