mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed incorrect assertion in IoAllocateController: assert_irql() seems to check for IRQL <= current IRQL, but this function must be called with current IRQL == DISPATCH_LEVEL, not <= DISPATCH_LEVEL.
svn path=/trunk/; revision=1734
This commit is contained in:
parent
cf4a06ff33
commit
b1601c09d8
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: cntrller.c,v 1.5 2001/03/07 16:48:41 dwelch Exp $
|
||||
/* $Id: cntrller.c,v 1.6 2001/03/26 05:03:54 phreak Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -59,7 +59,7 @@ IoAllocateController(PCONTROLLER_OBJECT ControllerObject,
|
|||
PCONTROLLER_QUEUE_ENTRY entry;
|
||||
IO_ALLOCATION_ACTION Result;
|
||||
|
||||
assert_irql(DISPATCH_LEVEL);
|
||||
assert(KeGetCurrentIrql() == DISPATCH_LEVEL);
|
||||
|
||||
entry =
|
||||
ExAllocatePoolWithTag(NonPagedPool, sizeof(CONTROLLER_QUEUE_ENTRY),
|
||||
|
|
Loading…
Reference in a new issue