mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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");
|
__asm__("sti\n\t");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if( CurrentIrql == PASSIVE_LEVEL && CurrentThread->ApcState.KernelApcPending )
|
if( CurrentIrql == PASSIVE_LEVEL && CurrentThread && CurrentThread->ApcState.KernelApcPending )
|
||||||
{
|
{
|
||||||
KeSetCurrentIrql( APC_LEVEL );
|
KeSetCurrentIrql( APC_LEVEL );
|
||||||
KeApcProlog2();
|
KeApcProlog2();
|
||||||
|
|
Loading…
Reference in a new issue