From 7b8651cd900ae90eab28736c275f4b1308920712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Sun, 25 Sep 2016 18:35:52 +0000 Subject: [PATCH] [SDK/GCC_INTRIN] - Update __invlpg instrinsic for x86_64 compatibility svn path=/trunk/; revision=72803 --- reactos/sdk/include/crt/mingw32/intrin_x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/sdk/include/crt/mingw32/intrin_x86.h b/reactos/sdk/include/crt/mingw32/intrin_x86.h index e3257854a8d..00d06aa3135 100644 --- a/reactos/sdk/include/crt/mingw32/intrin_x86.h +++ b/reactos/sdk/include/crt/mingw32/intrin_x86.h @@ -1757,7 +1757,7 @@ __INTRIN_INLINE void __writedr(unsigned reg, unsigned int value) __INTRIN_INLINE void __invlpg(void *Address) { - __asm__("invlpg %[Address]" : : [Address] "m" (*((unsigned char *)(Address))) : "memory"); + __asm__ __volatile__ ("invlpg (%[Address])" : : [Address] "b" (Address) : "memory"); }