Author: dgorbachev
Date: Wed Dec 3 18:55:15 2008
New Revision: 37841
URL:
http://svn.reactos.org/svn/reactos?rev=37841&view=rev
Log:
Fix them second time.
Modified:
trunk/reactos/ntoskrnl/include/internal/i386/intrin_i.h
Modified: trunk/reactos/ntoskrnl/include/internal/i386/intrin_i.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/intrin_i.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/intrin_i.h [iso-8859-1] Wed Dec 3
18:55:15 2008
@@ -16,7 +16,9 @@
#define Ke386GetInterruptDescriptorTable(X) \
__asm__("sidt %0\n\t" \
- : "=m" (X));
+ : "=m" (X) \
+ : /* no input */ \
+ : "memory");
#define Ke386SetGlobalDescriptorTable(X) \
__asm__("lgdt %0\n\t" \
@@ -25,11 +27,15 @@
#define Ke386GetGlobalDescriptorTable(X) \
__asm__("sgdt %0\n\t" \
- : "=m" (X));
+ : "=m" (X) \
+ : /* no input */ \
+ : "memory");
#define Ke386GetLocalDescriptorTable(X) \
__asm__("sldt %0\n\t" \
- : "=m" (X));
+ : "=m" (X) \
+ : /* no input */ \
+ : "memory");
#define Ke386SetLocalDescriptorTable(X) \
__asm__("lldt %w0\n\t" \