Skip to content

Commit b9958c7

Browse files
committed
[XDK] Fix definition of KeRaiseIrqlToSynchLevel for x64 UP
1 parent 893715b commit b9958c7

File tree

1 file changed

+4
-0
lines changed
  • sdk/include/xdk/amd64

1 file changed

+4
-0
lines changed

sdk/include/xdk/amd64/ke.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@ FORCEINLINE
116116
KIRQL
117117
KeRaiseIrqlToSynchLevel(VOID)
118118
{
119+
#ifdef CONFIG_SMP
119120
return KfRaiseIrql(12); // SYNCH_LEVEL = IPI_LEVEL - 2
121+
#else
122+
return KfRaiseIrql(2); // SYNCH_LEVEL = DISPATCH_LEVEL
123+
#endif
120124
}
121125

122126
FORCEINLINE

0 commit comments

Comments
 (0)