Author: hpoussin
Date: Thu Feb 22 03:14:20 2007
New Revision: 25873
URL:
http://svn.reactos.org/svn/reactos?rev=25873&view=rev
Log:
Fix build with gcc 4.1.2
Modified:
branches/alex-kd-branch/reactos/hal/hal/hal.c
branches/alex-kd-branch/reactos/ntoskrnl/kd64/kdapi.c
Modified: branches/alex-kd-branch/reactos/hal/hal/hal.c
URL:
http://svn.reactos.org/svn/reactos/branches/alex-kd-branch/reactos/hal/hal/…
==============================================================================
--- branches/alex-kd-branch/reactos/hal/hal/hal.c (original)
+++ branches/alex-kd-branch/reactos/hal/hal/hal.c Thu Feb 22 03:14:20 2007
@@ -17,7 +17,6 @@
#include <ndk/halfuncs.h>
#include <ndk/iofuncs.h>
#include <ndk/kdfuncs.h>
-#include <internal/kd.h>
#define NDEBUG
#include <debug.h>
Modified: branches/alex-kd-branch/reactos/ntoskrnl/kd64/kdapi.c
URL:
http://svn.reactos.org/svn/reactos/branches/alex-kd-branch/reactos/ntoskrnl…
==============================================================================
--- branches/alex-kd-branch/reactos/ntoskrnl/kd64/kdapi.c (original)
+++ branches/alex-kd-branch/reactos/ntoskrnl/kd64/kdapi.c Thu Feb 22 03:14:20 2007
@@ -1093,7 +1093,7 @@
NTAPI
KdEnableDebuggerWithLock(BOOLEAN NeedLock)
{
- KIRQL OldIrql;
+ KIRQL OldIrql = PASSIVE_LEVEL;
/* Check if we need to acquire the lock */
if (NeedLock)