diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-06 19:41:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-06 19:41:29 +0000 |
commit | f7fda138629223fd5100ede67dc2e38d1ae5187f (patch) | |
tree | 2695a6a0d655817a2e3203114e305e2d1dd3e2e9 /sys/arch | |
parent | 5c15bd3a2a60809d109feb412293dc9338669e6c (diff) |
Do not depend on MAX_CPUS being 4.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/m188_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m188_machdep.c b/sys/arch/mvme88k/mvme88k/m188_machdep.c index d141a6c888d..3b03583c2eb 100644 --- a/sys/arch/mvme88k/mvme88k/m188_machdep.c +++ b/sys/arch/mvme88k/mvme88k/m188_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m188_machdep.c,v 1.8 2005/05/01 09:55:49 miod Exp $ */ +/* $OpenBSD: m188_machdep.c,v 1.9 2005/09/06 19:41:28 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -80,14 +80,14 @@ void m188_startup(void); * *int_mask_reg[CPU] * Points to the hardware interrupt status register for each CPU. */ -unsigned int *volatile int_mask_reg[MAX_CPUS] = { +unsigned int *volatile int_mask_reg[] = { (unsigned int *)IEN0_REG, (unsigned int *)IEN1_REG, (unsigned int *)IEN2_REG, (unsigned int *)IEN3_REG }; -unsigned int m188_curspl[MAX_CPUS] = {0, 0, 0, 0}; +unsigned int m188_curspl[] = {0, 0, 0, 0}; unsigned int int_mask_val[INT_LEVEL] = { MASK_LVL_0, |