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/hppa64 | |
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/hppa64')
-rw-r--r-- | sys/arch/hppa64/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/cpu.h b/sys/arch/hppa64/include/cpu.h index b34705b425f..38deb57665e 100644 --- a/sys/arch/hppa64/include/cpu.h +++ b/sys/arch/hppa64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.12 2008/07/18 23:43:31 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.13 2008/10/10 08:05:45 art Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -143,6 +143,7 @@ struct cpu_info *curcpu(void); #define CPU_INFO_FOREACH(cii,ci) \ for (cii = 0, ci = curcpu(); ci != NULL; ci = ci->ci_next) #define CPU_INFO_UNIT(ci) ((ci)->ci_number) +#define MAXCPUS 1 #ifdef DIAGNOSTIC void splassert_fail(int, int, const char *); |