mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
fixed bug caused by my APC code
svn path=/trunk/; revision=860
This commit is contained in:
parent
55fef42029
commit
5d2dc4de65
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static VOID HiSwitchIrql(KIRQL oldIrql)
|
|||
__asm__("sti\n\t");
|
||||
return;
|
||||
}
|
||||
if( CurrentIrql == PASSIVE_LEVEL && CurrentThread->ApcState.KernelApcPending )
|
||||
if( CurrentIrql == PASSIVE_LEVEL && CurrentThread && CurrentThread->ApcState.KernelApcPending )
|
||||
{
|
||||
KeSetCurrentIrql( APC_LEVEL );
|
||||
KeApcProlog2();
|
||||
|
|
Loading…
Reference in a new issue