[ros-diffs] [hpoussin] 25873: Fix build with gcc 4.1.2
hpoussin at svn.reactos.org
hpoussin at svn.reactos.org
Thu Feb 22 01:14:21 CET 2007
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/hal.c?rev=25873&r1=25872&r2=25873&view=diff
==============================================================================
--- 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/kd64/kdapi.c?rev=25873&r1=25872&r2=25873&view=diff
==============================================================================
--- 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)
More information about the Ros-diffs
mailing list