MFC: Fix sign bug in #ifdef for value of INTRCNT_COUNT.
Approved by: re (hrs)
This commit is contained in:
parent
6af66c9e05
commit
4ba6a58710
@ -56,9 +56,9 @@
|
||||
* - 7 counters for each CPU for IPI counters for SMP.
|
||||
*/
|
||||
#ifdef SMP
|
||||
#define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + 1)
|
||||
#else
|
||||
#define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + (1 + 7) * MAXCPU)
|
||||
#else
|
||||
#define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + 1)
|
||||
#endif
|
||||
|
||||
#ifndef LOCORE
|
||||
|
@ -56,9 +56,9 @@
|
||||
* - 7 counters for each CPU for IPI counters for SMP.
|
||||
*/
|
||||
#ifdef SMP
|
||||
#define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + 1)
|
||||
#else
|
||||
#define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + (1 + 7) * MAXCPU)
|
||||
#else
|
||||
#define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + 1)
|
||||
#endif
|
||||
|
||||
#ifndef LOCORE
|
||||
|
Loading…
x
Reference in New Issue
Block a user