[NMIDEBUG] Do not take the msvc codepath in NmiClearFlag(). CORE-11799 (#94)
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 30 Oct 2017 20:54:54 +0000 (21:54 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 30 Oct 2017 20:54:54 +0000 (21:54 +0100)
drivers/base/nmidebug/nmidebug.c

index 9400fd4..ecbf58e 100644 (file)
@@ -22,7 +22,7 @@ NmiClearFlag(VOID)
     ((PCHAR)&KiBugCheckData[4])[0] -= (NmiBegin[3] | NmiBegin[7]);
     ((PCHAR)&KiBugCheckData[4])[3] |= 1;
 #ifdef _M_IX86
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__clang__)
     __asm
     {
         rcr KiBugCheckData[4], 8