[SDK/GCC_INTRIN]

- Update __invlpg instrinsic for x86_64 compatibility

svn path=/trunk/; revision=72803
This commit is contained in:
Jérôme Gardou 2016-09-25 18:35:52 +00:00
parent 28e32eb784
commit 7b8651cd90

View file

@ -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");
}