Author: peterw Date: Mon Nov 6 00:00:42 2006 New Revision: 24689
URL: http://svn.reactos.org/svn/reactos?rev=24689&view=rev Log: - Added missing variable for the SMP build, noticed by Usurp. - Trimmed trailing white-space.
Modified: trunk/reactos/ntoskrnl/ke/bug.c
Modified: trunk/reactos/ntoskrnl/ke/bug.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/bug.c?rev=24689... ============================================================================== --- trunk/reactos/ntoskrnl/ke/bug.c (original) +++ trunk/reactos/ntoskrnl/ke/bug.c Mon Nov 6 00:00:42 2006 @@ -189,7 +189,7 @@ OutputString->Length = i + 1; OutputString->MaximumLength = i + 1; } - else + else { /* Direct Output to Screen */ InbvDisplayString(BugCode); @@ -521,6 +521,9 @@ PLDR_DATA_TABLE_ENTRY LdrEntry; PULONG_PTR HardErrorParameters; KIRQL OldIrql; +#ifdef CONFIG_SMP + LONG i = 0; +#endif
/* Set active bugcheck */ KeBugCheckActive = TRUE; @@ -868,7 +871,7 @@
#ifdef CONFIG_SMP /* Freeze the other CPUs */ - for (i = 0; i < KeNumberProcessors; i++) + for (i = 0; i < KeNumberProcessors; i++) { if (i != (LONG)KeGetCurrentProcessorNumber()) {